diff options
author | Thomas Haller <thaller@redhat.com> | 2017-02-02 18:33:56 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-02-10 14:40:23 +0100 |
commit | 95a95b3e480244f79623246e41cab33865fe40c3 (patch) | |
tree | c87a18d394211a5c48b27c7349e8345344f406b4 | |
parent | 61554cae7a48c0b42e28f0893844fa9f17a5d783 (diff) | |
download | NetworkManager-95a95b3e480244f79623246e41cab33865fe40c3.tar.gz |
core: use define for GObject property name NM_SUPPLICANT_INTERFACE_SCANNING
grep-ing for '\<scanning\>' yields 42 hits under src. But only 2 are actual
references to the "scanning" GObject property of NMDeviceWifi.
Use a #define with a unique name where we mean NMDeviceWifi's property.
-rw-r--r-- | src/devices/wifi/nm-device-wifi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/wifi/nm-device-wifi.c b/src/devices/wifi/nm-device-wifi.c index 81df1add1e..05672b4b0f 100644 --- a/src/devices/wifi/nm-device-wifi.c +++ b/src/devices/wifi/nm-device-wifi.c @@ -262,7 +262,7 @@ supplicant_interface_acquire (NMDeviceWifi *self) G_CALLBACK (supplicant_iface_scan_done_cb), self); g_signal_connect (priv->sup_iface, - "notify::scanning", + "notify::"NM_SUPPLICANT_INTERFACE_SCANNING, G_CALLBACK (supplicant_iface_notify_scanning_cb), self); g_signal_connect (priv->sup_iface, |