From 63874a8de8ad488722de4a15b102024b24a1e50b Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 21 Feb 2011 16:24:59 +0000 Subject: [PATCH] network: Remove the 'ControlCenter::AccessTechnology' attribute as nothing uses it in the GUI --- panels/network/cc-network-panel.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c index 61a873355..8c5675952 100644 --- a/panels/network/cc-network-panel.c +++ b/panels/network/cc-network-panel.c @@ -333,7 +333,6 @@ panel_device_got_modem_manager_gsm_cb (GObject *source_object, gpointer user_data) { GError *error = NULL; - GVariant *result = NULL; GDBusProxy *proxy; NMDevice *device = (NMDevice *) user_data; @@ -345,16 +344,6 @@ panel_device_got_modem_manager_gsm_cb (GObject *source_object, goto out; } - /* get how we are acessing the data */ - result = g_dbus_proxy_get_cached_property (proxy, - "AccessTechnology"); - - /* save */ - g_object_set_data_full (G_OBJECT (device), - "ControlCenter::AccessTechnology", - g_variant_dup_string (result, NULL), - g_free); - g_dbus_proxy_call (proxy, "GetRegistrationInfo", NULL, @@ -366,8 +355,6 @@ panel_device_got_modem_manager_gsm_cb (GObject *source_object, out: if (proxy != NULL) g_object_unref (proxy); - if (result != NULL) - g_variant_unref (result); return; }