[tracker/avoid-duplicates] libtracker-miner: minor style changes



commit 3659a23ca4d6c915c3071ce6e0df097509d7c1df
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Wed Jun 23 16:21:58 2010 +0200

    libtracker-miner: minor style changes

 src/libtracker-miner/tracker-miner-fs.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 8f07b28..7169fe3 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1968,10 +1968,12 @@ item_queue_get_next_file (TrackerMinerFS  *fs,
 	queue_file = g_queue_pop_head (fs->private->items_deleted);
 	if (queue_file) {
 		*source_file = NULL;
+
 		if (check_ignore_next_update (fs, queue_file)) {
 			*file = NULL;
 			return QUEUE_IGNORE_NEXT_UPDATE;
 		}
+
 		if (process_data_find (fs, queue_file, TRUE)) {
 			*file = NULL;
 			/* Need to postpone event... */
@@ -1979,6 +1981,7 @@ item_queue_get_next_file (TrackerMinerFS  *fs,
 			                   queue_file);
 			return QUEUE_WAIT;
 		}
+
 		*file = queue_file;
 		return QUEUE_DELETED;
 	}
@@ -2016,6 +2019,7 @@ item_queue_get_next_file (TrackerMinerFS  *fs,
 			*source_file = queue_file;
 			return QUEUE_IGNORE_NEXT_UPDATE;
 		}
+
 		if (process_data_find (fs, queue_file, TRUE)) {
 			*file = NULL;
 			/* Need to postpone event... */
@@ -2023,6 +2027,7 @@ item_queue_get_next_file (TrackerMinerFS  *fs,
 			                   queue_file);
 			return QUEUE_WAIT;
 		}
+
 		*file = queue_file;
 		*source_file = NULL;
 		return QUEUE_CREATED;
@@ -2033,8 +2038,10 @@ item_queue_get_next_file (TrackerMinerFS  *fs,
 	if (queue_file) {
 		*file = queue_file;
 		*source_file = NULL;
+
 		if (check_ignore_next_update (fs, queue_file))
 			return QUEUE_IGNORE_NEXT_UPDATE;
+
 		if (process_data_find (fs, queue_file, TRUE)) {
 			*file = NULL;
 			/* Need to postpone event... */
@@ -2042,6 +2049,7 @@ item_queue_get_next_file (TrackerMinerFS  *fs,
 			                   queue_file);
 			return QUEUE_WAIT;
 		}
+
 		return QUEUE_UPDATED;
 	}
 
@@ -2054,6 +2062,7 @@ item_queue_get_next_file (TrackerMinerFS  *fs,
 			item_moved_data_free (data);
 			return QUEUE_IGNORE_NEXT_UPDATE;
 		}
+
 		if (process_data_find (fs, data->file, TRUE) ||
 		    process_data_find (fs, data->source_file, TRUE)) {
 			*file = NULL;
@@ -2063,6 +2072,7 @@ item_queue_get_next_file (TrackerMinerFS  *fs,
 			                   data); /* no need to create again */
 			return QUEUE_WAIT;
 		}
+
 		*file = g_object_ref (data->file);
 		*source_file = g_object_ref (data->source_file);
 		item_moved_data_free (data);



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