[tracker] libtracker-miner: Do not try to load thumbnailer properties



commit 5d20f9ea831ea2b554a59e1f949cb95536358f0f
Author: Jürg Billeter <j bitron ch>
Date:   Mon May 2 08:54:38 2011 +0200

    libtracker-miner: Do not try to load thumbnailer properties
    
    The thumbnailer D-Bus objects do not have any properties. We can save
    two D-Bus calls by not trying to load them.

 src/libtracker-miner/tracker-thumbnailer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-thumbnailer.c b/src/libtracker-miner/tracker-thumbnailer.c
index 66655ca..feb1068 100644
--- a/src/libtracker-miner/tracker-thumbnailer.c
+++ b/src/libtracker-miner/tracker-thumbnailer.c
@@ -159,7 +159,7 @@ tracker_thumbnailer_init (void)
 	}
 
 	private->cache_proxy = g_dbus_proxy_new_sync (private->connection,
-	                                              G_DBUS_PROXY_FLAGS_NONE,
+	                                              G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES,
 	                                              NULL,
 	                                              THUMBCACHE_SERVICE,
 	                                              THUMBCACHE_PATH,
@@ -172,7 +172,7 @@ tracker_thumbnailer_init (void)
 	}
 
 	private->manager_proxy = g_dbus_proxy_new_sync (private->connection,
-	                                                G_DBUS_PROXY_FLAGS_NONE,
+	                                                G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES,
 	                                                NULL,
 	                                                THUMBMAN_SERVICE,
 	                                                THUMBMAN_PATH,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]