summaryrefslogtreecommitdiff
path: root/src/devices/wifi
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/devices/wifi
parent04c70c76bccf86a5870d957c35d4cff69ae5e558 (diff)
downloadNetworkManager-ee4ec4e60004f024e2dd82d54d39daeb64fb918c.tar.gz
core: use define for NMDevice's "state-changed" signal name
Diffstat (limited to 'src/devices/wifi')
-rw-r--r--src/devices/wifi/nm-device-olpc-mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/wifi/nm-device-olpc-mesh.c b/src/devices/wifi/nm-device-olpc-mesh.c
index 8898c59cd6..585c7022ad 100644
--- a/src/devices/wifi/nm-device-olpc-mesh.c
+++ b/src/devices/wifi/nm-device-olpc-mesh.c
@@ -339,7 +339,7 @@ check_companion (NMDeviceOlpcMesh *self, NMDevice *other)
_LOGI (LOGD_OLPC, "found companion WiFi device %s",
nm_device_get_iface (other));
- g_signal_connect (G_OBJECT (other), "state-changed",
+ g_signal_connect (G_OBJECT (other), NM_DEVICE_STATE_CHANGED,
G_CALLBACK (companion_state_changed_cb), self);
g_signal_connect (G_OBJECT (other), "notify::scanning",