[network-manager-openconnect] plugin: avoid calling GetAll on service object
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openconnect] plugin: avoid calling GetAll on service object
- Date: Mon, 21 Mar 2016 12:38:53 +0000 (UTC)
commit 4781e9b94946dd4f87b5d6437dd0c6720f4d6427
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Mon Mar 21 13:38:45 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-openconnect-service-openconnect-helper.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nm-openconnect-service-openconnect-helper.c b/src/nm-openconnect-service-openconnect-helper.c
index 177a636..11da4f3 100644
--- a/src/nm-openconnect-service-openconnect-helper.c
+++ b/src/nm-openconnect-service-openconnect-helper.c
@@ -413,7 +413,7 @@ main (int argc, char *argv[])
bus_path = NM_DBUS_SERVICE_OPENCONNECT;
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,
bus_path,
NM_VPN_DBUS_PLUGIN_PATH,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]