[gnome-control-center/wip/networking2: 32/36] network: Remove an unused function
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/networking2: 32/36] network: Remove an unused function
- Date: Mon, 7 Jan 2013 05:16:54 +0000 (UTC)
commit 2bc8f455709aff67e4d2a1caf44d12cd1d8899d5
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jan 6 22:36:56 2013 -0500
network: Remove an unused function
panels/network/net-device-wifi.c | 23 -----------------------
1 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index 3e8549c..4d200ea 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -266,29 +266,6 @@ wireless_enabled_toggled (NMClient *client,
device_wifi->priv->updating_device = FALSE;
}
-#if 0
-static void
-update_off_switch_from_device_state (GtkSwitch *sw,
- NMDeviceState state,
- NetDeviceWifi *device_wifi)
-{
- device_wifi->priv->updating_device = TRUE;
- switch (state) {
- case NM_DEVICE_STATE_UNMANAGED:
- case NM_DEVICE_STATE_UNAVAILABLE:
- case NM_DEVICE_STATE_DISCONNECTED:
- case NM_DEVICE_STATE_DEACTIVATING:
- case NM_DEVICE_STATE_FAILED:
- gtk_switch_set_active (sw, FALSE);
- break;
- default:
- gtk_switch_set_active (sw, TRUE);
- break;
- }
- device_wifi->priv->updating_device = FALSE;
-}
-#endif
-
static NMConnection *
find_connection_for_device (NetDeviceWifi *device_wifi,
NMDevice *device)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]