[tracker/rss-enclosures] tracker-store: class-signal: Bugfix, the timer based emit wasn't working



commit 2f0409699cc3d3ec20b55004a99cc13b8c479d7d
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Aug 31 12:13:46 2010 +0200

    tracker-store: class-signal: Bugfix, the timer based emit wasn't working

 src/tracker-store/tracker-resources.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-store/tracker-resources.c b/src/tracker-store/tracker-resources.c
index 553b60e..9e554bb 100644
--- a/src/tracker-store/tracker-resources.c
+++ b/src/tracker-store/tracker-resources.c
@@ -721,7 +721,7 @@ on_statement_inserted (gint         graph_id,
 	a = tracker_writeback_check (graph_id, graph, subject_id,
 	                             subject, pred_id, object_id,
 	                             object, rdf_types);
-	b = check_graph_updated_signal (user_data);
+	b = !(check_graph_updated_signal (user_data));
 
 	if ((a || b) && priv->signal_timeout == 0) {
 		priv->signal_timeout = g_timeout_add_seconds (TRACKER_SIGNALS_SECONDS_PER_EMIT,
@@ -752,7 +752,7 @@ on_statement_deleted (gint         graph_id,
 	a = tracker_writeback_check (graph_id, graph, subject_id,
 	                             subject, pred_id, object_id,
 	                             object, rdf_types);
-	b = check_graph_updated_signal (user_data);
+	b = !(check_graph_updated_signal (user_data));
 
 	if ((a || b) && priv->signal_timeout == 0) {
 		priv->signal_timeout = g_timeout_add_seconds (TRACKER_SIGNALS_SECONDS_PER_EMIT,



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