[network-manager-openvpn] plugin: avoid calling GetAll on service object
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn] plugin: avoid calling GetAll on service object
- Date: Mon, 21 Mar 2016 12:39:27 +0000 (UTC)
commit b3a1d568259930ae036d5a7c1aa9181ada95176c
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Mon Mar 21 13:39:05 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-openvpn-service-openvpn-helper.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nm-openvpn-service-openvpn-helper.c b/src/nm-openvpn-service-openvpn-helper.c
index 77736c2..5a2e0be 100644
--- a/src/nm-openvpn-service-openvpn-helper.c
+++ b/src/nm-openvpn-service-openvpn-helper.c
@@ -504,7 +504,7 @@ main (int argc, char *argv[])
is_restart = argc >= 7 && !g_strcmp0 (argv[6], "restart");
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_name,
NM_VPN_DBUS_PLUGIN_PATH,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]