[gnome-control-center] network: Fix warning when enabling hotspot



commit cdb6a6c68212415bc642d0edcaf5efdcefd641d7
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jun 10 17:07:50 2016 +0200

    network: Fix warning when enabling hotspot
    
    GLib-GObject-WARNING **: g_object_set_valist: object class 'NMSettingWireless' has no property named 
'security'
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769230

 panels/network/net-device-wifi.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index c823a65..73aa69d 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1093,7 +1093,6 @@ start_shared_connection (NetDeviceWifi *device_wifi)
 
         g_object_set (sw,
                       "mode", mode,
-                      "security", "802-11-wireless-security",
                       NULL);
 
         str_mac = nm_device_wifi_get_permanent_hw_address (NM_DEVICE_WIFI (device));


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