[gnome-control-center] network: Fix build
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Fix build
- Date: Thu, 4 Sep 2014 17:14:42 +0000 (UTC)
commit 8629632c4df35d48ed22fd6cd8d1498f26a709b9
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 71ad40a..f476c37 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -302,7 +302,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]