summaryrefslogtreecommitdiff
path: root/daemon/daemon-main.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-07-20 17:46:53 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:59:37 +0200
commit58df9f28bd3d516231eeb6581e54b84d274be3f6 (patch)
tree04eed353bcab937b151864d55513c733215ba7ea /daemon/daemon-main.c
parent584c90ed0861440fd052a6090d132dd0859efd0d (diff)
downloadgvfs-58df9f28bd3d516231eeb6581e54b84d274be3f6.tar.gz
gdbus: Construct proxies without connecting signals and properties
Use G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS and G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flags where applicable.
Diffstat (limited to 'daemon/daemon-main.c')
-rw-r--r--daemon/daemon-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/daemon-main.c b/daemon/daemon-main.c
index b634b938..d218f26a 100644
--- a/daemon/daemon-main.c
+++ b/daemon/daemon-main.c
@@ -194,7 +194,7 @@ send_spawned (gboolean succeeded,
error = NULL;
g_print ("send_spawned: before proxy creation, spawner_id = '%s', spawner_path = '%s'\n", spawner_id, spawner_path);
proxy = gvfs_dbus_spawner_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
- G_DBUS_PROXY_FLAGS_NONE,
+ G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS | G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES,
spawner_id,
spawner_path,
NULL,