[gnome-control-center/gnome-3-8] network: Fix build



commit d24367aed6558662fde9f98a9831745180780dec
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Thu Sep 4 13:11:41 2014 -0400

    network: Fix build
    
    Last patch refers to nm_device instead of the actual variable device.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723643

 panels/network/net-device-wifi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index e3a1d36..c0e3983 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -310,7 +310,7 @@ device_is_hotspot (NetDeviceWifi *device_wifi)
         NMDevice *device;
 
         device = net_device_get_nm_device (NET_DEVICE (device_wifi));
-        if (nm_device_get_active_connection (nm_device) == NULL)
+        if (nm_device_get_active_connection (device) == NULL)
                 return FALSE;
 
         c = find_connection_for_device (device_wifi, device);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]