[network-manager-fortisslvpn] plugin: avoid calling GetAll on service object



commit 9e0ef344c7c11ba89395eb320f559e2cf2d368b7
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Mon Mar 21 13:36:39 2016 +0100

    plugin: avoid calling GetAll on service object
    
    The D-Bus policy won't allow that and we don't need that anyway.

 src/nm-fortisslvpn-pppd-plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nm-fortisslvpn-pppd-plugin.c b/src/nm-fortisslvpn-pppd-plugin.c
index 0fe6384..9f00813 100644
--- a/src/nm-fortisslvpn-pppd-plugin.c
+++ b/src/nm-fortisslvpn-pppd-plugin.c
@@ -308,7 +308,7 @@ plugin_init (void)
        g_message ("nm-fortisslvpn-ppp-plugin: (%s): initializing", __func__);
 
         proxy = nmdbus_fortisslvpn_ppp_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
-                                                               G_DBUS_PROXY_FLAGS_NONE,
+                                                               G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES,
                                                                bus_name,
                                                                NM_DBUS_PATH_FORTISSLVPN_PPP,
                                                                NULL, &err);


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