network: Remove the 'ControlCenter::AccessTechnology' attribute as nothing uses it in the GUI
This commit is contained in:
parent
d3358d7290
commit
63874a8de8
1 changed files with 0 additions and 13 deletions
|
@ -333,7 +333,6 @@ panel_device_got_modem_manager_gsm_cb (GObject *source_object,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
GVariant *result = NULL;
|
|
||||||
GDBusProxy *proxy;
|
GDBusProxy *proxy;
|
||||||
NMDevice *device = (NMDevice *) user_data;
|
NMDevice *device = (NMDevice *) user_data;
|
||||||
|
|
||||||
|
@ -345,16 +344,6 @@ panel_device_got_modem_manager_gsm_cb (GObject *source_object,
|
||||||
goto out;
|
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,
|
g_dbus_proxy_call (proxy,
|
||||||
"GetRegistrationInfo",
|
"GetRegistrationInfo",
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -366,8 +355,6 @@ panel_device_got_modem_manager_gsm_cb (GObject *source_object,
|
||||||
out:
|
out:
|
||||||
if (proxy != NULL)
|
if (proxy != NULL)
|
||||||
g_object_unref (proxy);
|
g_object_unref (proxy);
|
||||||
if (result != NULL)
|
|
||||||
g_variant_unref (result);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue