[tracker/gdbus] libtracker-miner: Apparently &s is a little bit faster here



commit 148755f7ee75a92385ef3dcd525693c6e01145b7
Author: Philip Van Hoof <philip codeminded be>
Date:   Mon Jan 17 17:16:18 2011 +0100

    libtracker-miner: Apparently &s is a little bit faster here

 src/libtracker-miner/tracker-miner-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-manager.c b/src/libtracker-miner/tracker-miner-manager.c
index d0d742e..ef58d00 100644
--- a/src/libtracker-miner/tracker-miner-manager.c
+++ b/src/libtracker-miner/tracker-miner-manager.c
@@ -506,7 +506,7 @@ tracker_miner_manager_get_running (TrackerMinerManager *manager)
 	}
 
 	g_variant_get (v, "(as)", &iter);
-	while (g_variant_iter_loop (iter, "s", &str)) {
+	while (g_variant_iter_loop (iter, "&s", &str)) {
 		if (!g_str_has_prefix (str, TRACKER_MINER_DBUS_NAME_PREFIX)) {
 			continue;
 		}



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