[gnome-control-center/wip/networking2] network: Remove dead code
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/networking2] network: Remove dead code
- Date: Wed, 9 Jan 2013 17:27:58 +0000 (UTC)
commit a33f8d729fb0b6eed870185328e194d66692e9ce
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jan 9 18:20:26 2013 +0100
network: Remove dead code
panels/network/net-device-wifi.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index e5f9fdf..3c1ea3d 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1630,13 +1630,6 @@ ap_sort (gconstpointer a, gconstpointer b, gpointer data)
gboolean aa, ab;
guint sa, sb;
-#if 0
- aa = GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (a), "active"));
- ab = GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (b), "active"));
- if (aa) return -1;
- if (ab) return 1;
-#endif
-
sa = GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (a), "strength"));
sb = GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (b), "strength"));
if (sa > sb) return -1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]