[tracker/harmattan-pre-signal-updates: 1221/1380] tracker-miner-fs: Default should_process to TRUE in check_directory() and check_file()



commit b5ff0a30bed7302ea88aa10147355e3200bb2285
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Mon Aug 30 11:57:21 2010 +0200

    tracker-miner-fs: Default should_process to TRUE in check_directory() and check_file()

 src/libtracker-miner/tracker-miner-fs.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index da5cadc..160a848 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1506,7 +1506,7 @@ item_add_or_update_cb (TrackerMinerFS *fs,
 
 		tracker_sparql_connection_update_async (tracker_miner_get_connection (TRACKER_MINER (fs)),
                                                         full_sparql,
-                                                        G_PRIORITY_DEFAULT, 
+                                                        G_PRIORITY_DEFAULT,
                                                         NULL,
                                                         sparql_update_cb, data);
 		g_free (full_sparql);
@@ -1643,7 +1643,7 @@ item_remove (TrackerMinerFS *fs,
 
 	tracker_sparql_connection_update_async (tracker_miner_get_connection (TRACKER_MINER (fs)),
                                                 sparql->str,
-                                                G_PRIORITY_DEFAULT, 
+                                                G_PRIORITY_DEFAULT,
                                                 NULL,
                                                 sparql_update_cb, data);
 
@@ -1725,10 +1725,10 @@ item_ignore_next_update (TrackerMinerFS *fs,
 		                         uri, tracker_sparql_builder_get_result (sparql));
 
 		tracker_sparql_connection_update_async (tracker_miner_get_connection (TRACKER_MINER (fs)),
-                                                        query, 
-                                                        G_PRIORITY_DEFAULT, 
-                                                        NULL, 
-                                                        NULL, 
+                                                        query,
+                                                        G_PRIORITY_DEFAULT,
+                                                        NULL,
+                                                        NULL,
                                                         NULL);
 
 		g_free (query);
@@ -1958,7 +1958,7 @@ item_move (TrackerMinerFS *fs,
 
 	tracker_sparql_connection_update_async (tracker_miner_get_connection (TRACKER_MINER (fs)),
                                                 sparql->str,
-                                                G_PRIORITY_DEFAULT, 
+                                                G_PRIORITY_DEFAULT,
                                                 NULL,
                                                 sparql_update_cb, data);
 
@@ -3642,7 +3642,7 @@ tracker_miner_fs_check_file (TrackerMinerFS *fs,
                              GFile          *file,
                              gboolean        do_checks)
 {
-	gboolean should_process;
+	gboolean should_process = TRUE;
 	gchar *path;
 
 	g_return_if_fail (TRACKER_IS_MINER_FS (fs));
@@ -3687,7 +3687,7 @@ tracker_miner_fs_check_directory (TrackerMinerFS *fs,
                                   GFile          *file,
                                   gboolean        do_checks)
 {
-	gboolean should_process;
+	gboolean should_process = TRUE;
 	gchar *path;
 
 	g_return_if_fail (TRACKER_IS_MINER_FS (fs));



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