summaryrefslogtreecommitdiff
path: root/src/nm-active-connection.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-12-07 19:42:59 +0100
committerThomas Haller <thaller@redhat.com>2015-12-07 19:53:14 +0100
commitee4ec4e60004f024e2dd82d54d39daeb64fb918c (patch)
treea27e8dfff63b12a2899930567aa71811a93902fb /src/nm-active-connection.c
parent04c70c76bccf86a5870d957c35d4cff69ae5e558 (diff)
downloadNetworkManager-ee4ec4e60004f024e2dd82d54d39daeb64fb918c.tar.gz
core: use define for NMDevice's "state-changed" signal name
Diffstat (limited to 'src/nm-active-connection.c')
-rw-r--r--src/nm-active-connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-active-connection.c b/src/nm-active-connection.c
index 604e6ec4ec..4495b4252d 100644
--- a/src/nm-active-connection.c
+++ b/src/nm-active-connection.c
@@ -504,7 +504,7 @@ nm_active_connection_set_device (NMActiveConnection *self, NMDevice *device)
priv->device = g_object_ref (device);
- g_signal_connect (device, "state-changed",
+ g_signal_connect (device, NM_DEVICE_STATE_CHANGED,
G_CALLBACK (device_state_changed), self);
g_signal_connect (device, "notify::master",
G_CALLBACK (device_master_changed), self);