[tracker/rss-enclosures] tracker-store: set_active should happen after reenabling the signals



commit 6fe823baa318b293ee64c551fee7128c711fac1e
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Nov 4 15:59:13 2010 +0200

    tracker-store: set_active should happen after reenabling the signals

 src/tracker-store/tracker-backup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-store/tracker-backup.c b/src/tracker-store/tracker-backup.c
index aeb21eb..86f56af 100644
--- a/src/tracker-store/tracker-backup.c
+++ b/src/tracker-store/tracker-backup.c
@@ -99,13 +99,13 @@ restore_callback (GError *error, gpointer user_data)
 
 	dbus_g_method_return (info->context);
 
-	tracker_store_set_active (TRUE, NULL, NULL);
 	if (info->resources) {
 		tracker_events_init (info->getter);
 		tracker_resources_enable_signals (info->resources);
 		g_object_unref (info->resources);
 	}
 
+	tracker_store_set_active (TRUE, NULL, NULL);
 }
 
 void



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