[gnome-control-center/wip/networking2: 94/101] network: Remove dead code



commit dc31faf266d79067130a3f5873c7a01794026b21
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]