[tracker/writeback-refactor-rebase: 20/28] miners/fs: Cleanup debugging



commit ea28e301cd785115814b490ecbe65cbd01668aaa
Author: Philip Van Hoof <philip codeminded be>
Date:   Mon Jul 18 12:05:02 2011 +0200

    miners/fs: Cleanup debugging

 src/miners/fs/tracker-writeback-dispatcher.c |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/src/miners/fs/tracker-writeback-dispatcher.c b/src/miners/fs/tracker-writeback-dispatcher.c
index 9226c95..21d721b 100644
--- a/src/miners/fs/tracker-writeback-dispatcher.c
+++ b/src/miners/fs/tracker-writeback-dispatcher.c
@@ -257,7 +257,7 @@ writeback_dispatcher_writeback_file (TrackerMinerFS *fs,
 	priv = TRACKER_WRITEBACK_DISPATCHER_GET_PRIVATE (self);
 
 	uri = g_file_get_uri (file);
-	g_print ("Writeback: %s with:\n", uri);
+	g_debug ("Writeback: %s", uri);
 
 	g_variant_builder_init (&builder, G_VARIANT_TYPE ("(sasaas)"));
 
@@ -276,17 +276,9 @@ writeback_dispatcher_writeback_file (TrackerMinerFS *fs,
 		guint y;
 
 		g_variant_builder_open (&builder, G_VARIANT_TYPE ("as"));
-
-		g_print ("\t");
 		for (y = 0; row[y] != NULL; y++) {
 			g_variant_builder_add (&builder, "s", row[y]);
-
-			if (y != 0) {
-				g_print (",");
-			}
-			g_print ("%d=%s", y, row[y]);
 		}
-		g_print ("\n");
 
 		g_variant_builder_close (&builder);
 	}



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