Commit b298d3e2 authored by Thomas Haller's avatar Thomas Haller
Browse files

policy: removed unused signal subscription to "NMManager::state-changed"

parent 1dd06930
......@@ -838,11 +838,6 @@ process_secondaries (NMPolicy *self,
static void
global_state_changed (NMManager *manager, NMState state, gpointer user_data)
static void
hostname_changed (NMManager *manager, GParamSpec *pspec, gpointer user_data)
......@@ -1850,7 +1845,6 @@ constructed (GObject *object)
priv->resolver = g_resolver_get_default ();
g_signal_connect (priv->manager, NM_MANAGER_STATE_CHANGED, (GCallback) global_state_changed, self);
g_signal_connect (priv->manager, "notify::" NM_MANAGER_HOSTNAME, (GCallback) hostname_changed, self);
g_signal_connect (priv->manager, "notify::" NM_MANAGER_SLEEPING, (GCallback) sleeping_changed, self);
g_signal_connect (priv->manager, "notify::" NM_MANAGER_NETWORKING_ENABLED, (GCallback) sleeping_changed, self);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment