summaryrefslogtreecommitdiff
path: root/metadata
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-07-20 18:28:01 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-20 18:28:01 +0200
commitecf1aba3184fa46f870b87dce25a1e161b75f876 (patch)
tree718daddc87110f2f2c78152a49102255f5b17b10 /metadata
parent0e43394e03efcb6f5cff048b0765771e9ea8e406 (diff)
downloadgvfs-ecf1aba3184fa46f870b87dce25a1e161b75f876.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 'metadata')
-rw-r--r--metadata/meta-set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/metadata/meta-set.c b/metadata/meta-set.c
index 04a6b38e..f57b1cff 100644
--- a/metadata/meta-set.c
+++ b/metadata/meta-set.c
@@ -101,7 +101,7 @@ main (int argc,
if (use_dbus)
{
proxy = gvfs_metadata_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_METADATA_NAME,
G_VFS_DBUS_METADATA_PATH,
NULL,