From e3dc1a0cc5b3de4e10c58a8f40be63466a9d249f Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 2 Feb 2017 18:33:56 +0100 Subject: [PATCH] core: use define for GObject property name NM_SUPPLICANT_INTERFACE_SCANNING grep-ing for '\' 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. (cherry picked from commit 95a95b3e480244f79623246e41cab33865fe40c3) --- src/devices/wifi/nm-device-wifi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/wifi/nm-device-wifi.c b/src/devices/wifi/nm-device-wifi.c index ed5d2c6252..5ba9b127af 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,