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 /common | |
parent | 584c90ed0861440fd052a6090d132dd0859efd0d (diff) |
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 'common')
-rw-r--r-- | common/gmountsource.c | 2 | ||||
-rw-r--r-- | common/gmounttracker.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/gmountsource.c b/common/gmountsource.c index 4aa107c9..a7692ae9 100644 --- a/common/gmountsource.c +++ b/common/gmountsource.c @@ -184,7 +184,7 @@ create_mount_operation_proxy (GMountSource *source, error = NULL; proxy = gvfs_dbus_mount_operation_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, source->dbus_id, source->obj_path, NULL, diff --git a/common/gmounttracker.c b/common/gmounttracker.c index 19792e2b..1aea340c 100644 --- a/common/gmounttracker.c +++ b/common/gmounttracker.c @@ -470,7 +470,7 @@ init_connection (GMountTracker *tracker) error = NULL; tracker->proxy = gvfs_dbus_mount_tracker_proxy_new_sync (tracker->connection, - G_DBUS_PROXY_FLAGS_NONE, + G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, G_VFS_DBUS_DAEMON_NAME, G_VFS_DBUS_MOUNTTRACKER_PATH, NULL, |