diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-20 17:46:53 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-31 11:59:37 +0200 |
commit | 58df9f28bd3d516231eeb6581e54b84d274be3f6 (patch) | |
tree | 04eed353bcab937b151864d55513c733215ba7ea /client/gdaemonvfs.c | |
parent | 584c90ed0861440fd052a6090d132dd0859efd0d (diff) | |
download | gvfs-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 'client/gdaemonvfs.c')
-rw-r--r-- | client/gdaemonvfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/gdaemonvfs.c b/client/gdaemonvfs.c index 0bdee720..04af48d2 100644 --- a/client/gdaemonvfs.c +++ b/client/gdaemonvfs.c @@ -610,7 +610,7 @@ create_mount_tracker_proxy () error = NULL; proxy = gvfs_dbus_mount_tracker_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, G_VFS_DBUS_DAEMON_NAME, G_VFS_DBUS_MOUNTTRACKER_PATH, NULL, @@ -959,7 +959,7 @@ _g_daemon_vfs_get_mount_info_async (GMountSpec *spec, } gvfs_dbus_mount_tracker_proxy_new_for_bus (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, G_VFS_DBUS_DAEMON_NAME, G_VFS_DBUS_MOUNTTRACKER_PATH, NULL, |