summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-08-22 13:45:04 +0200
committerThomas Haller <thaller@redhat.com>2016-08-22 13:45:04 +0200
commit598bea3481b1216e16007057777ce1235593a6d8 (patch)
treeda4eb5c23f7bcd1c7d3725605a21a0642da7e18f
parent534b0360c1a7fa50f82e1941a43bd8311722d1ea (diff)
downloadNetworkManager-598bea3481b1216e16007057777ce1235593a6d8.tar.gz
core: use define for signal name in nm_active_connection_set_device()
-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 8b1824225f..1844587c67 100644
--- a/src/nm-active-connection.c
+++ b/src/nm-active-connection.c
@@ -546,7 +546,7 @@ nm_active_connection_set_device (NMActiveConnection *self, NMDevice *device)
g_signal_connect (device, NM_DEVICE_STATE_CHANGED,
G_CALLBACK (device_state_changed), self);
- g_signal_connect (device, "notify::master",
+ g_signal_connect (device, "notify::" NM_DEVICE_MASTER,
G_CALLBACK (device_master_changed), self);
g_signal_connect (device, "notify::" NM_DEVICE_METERED,
G_CALLBACK (device_metered_changed), self);