[tracker/busy-notifications] Removed unneeded workarround for something that wasn't a bug, squash with previous



commit 8348e9f8407dbc864e82683c4570e2138c10512d
Author: Philip Van Hoof <philip codeminded be>
Date:   Fri Mar 26 14:56:56 2010 +0100

    Removed unneeded workarround for something that wasn't a bug, squash with previous

 src/libtracker-data/tracker-data-update.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index 2722999..f17b4a8 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2373,7 +2373,7 @@ tracker_data_replay_journal (GHashTable          *classes,
 	GError *journal_error = NULL;
 	static TrackerProperty *rdf_type = NULL;
 	gint last_operation_type = 0;
-	gboolean in_ontology = FALSE, skip_first = TRUE;
+	gboolean in_ontology = FALSE;
 	GList *ontology_queue = NULL;
 
 	tracker_data_begin_db_transaction_for_replay (0);
@@ -2651,13 +2651,11 @@ tracker_data_replay_journal (GHashTable          *classes,
 			}
 		}
 
-		if (busy_callback && !skip_first) {
+		if (busy_callback) {
 			busy_callback (busy_status,
 			               tracker_db_journal_reader_get_progress (),
 			               busy_user_data);
 		}
-
-		skip_first = FALSE;
 	}
 
 	if (journal_error) {



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