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



commit 447b9c804746d3e0f7d72d4789f11c373f48a5db
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Mon Mar 21 13:40:21 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-vpnc-service-vpnc-helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nm-vpnc-service-vpnc-helper.c b/src/nm-vpnc-service-vpnc-helper.c
index 7f43dc7..34e39c1 100644
--- a/src/nm-vpnc-service-vpnc-helper.c
+++ b/src/nm-vpnc-service-vpnc-helper.c
@@ -266,7 +266,7 @@ main (int argc, char *argv[])
 
 
         proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
-                                               G_DBUS_PROXY_FLAGS_NONE,
+                                               G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES,
                                                NULL,
                                                NM_DBUS_SERVICE_VPNC,
                                                NM_VPN_DBUS_PLUGIN_PATH,


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