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



commit ae2ad3094f61235cf7989ec59182791ac765977a
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 5efe5e7..70ccdcb 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -300,7 +300,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]