[gnome-control-center] network: Remove the 'ControlCenter::AccessTechnology' attribute as nothing uses it in the GUI
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Remove the 'ControlCenter::AccessTechnology' attribute as nothing uses it in the GUI
- Date: Mon, 21 Feb 2011 16:29:18 +0000 (UTC)
commit 63874a8de8ad488722de4a15b102024b24a1e50b
Author: Richard Hughes <richard hughsie com>
Date: Mon Feb 21 16:24:59 2011 +0000
network: Remove the 'ControlCenter::AccessTechnology' attribute as nothing uses it in the GUI
panels/network/cc-network-panel.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index 61a8733..8c56759 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]