[network-manager-applet/nma-1-0] build: fix up bad cherry-pick



commit 25368df11e3ed9ed68aeb7ae9daf938d6f03820a
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Thu Jul 2 10:18:02 2015 +0200

    build: fix up bad cherry-pick
    
    Don't use a macro that's libnm specific -- the 1.0 branch still uses libnm-glib.

 src/mobile-helpers.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/mobile-helpers.c b/src/mobile-helpers.c
index 953a969..daa422e 100644
--- a/src/mobile-helpers.c
+++ b/src/mobile-helpers.c
@@ -196,11 +196,11 @@ mobile_wizard_done (NMAMobileWizard *wizard,
 
                /* Default to IPv4 & IPv6 'automatic' addressing */
                setting = nm_setting_ip4_config_new ();
-               g_object_set (setting, NM_SETTING_IP_CONFIG_METHOD, NM_SETTING_IP4_CONFIG_METHOD_AUTO, NULL);
+               g_object_set (setting, "method", NM_SETTING_IP4_CONFIG_METHOD_AUTO, NULL);
                nm_connection_add_setting (connection, setting);
 
                setting = nm_setting_ip6_config_new ();
-               g_object_set (setting, NM_SETTING_IP_CONFIG_METHOD, NM_SETTING_IP6_CONFIG_METHOD_AUTO, NULL);
+               g_object_set (setting, "method", NM_SETTING_IP6_CONFIG_METHOD_AUTO, NULL);
                nm_connection_add_setting (connection, setting);
 
                nm_connection_add_setting (connection, nm_setting_ppp_new ());


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