[tracker/queue-fixes] tracker-store: Run the that must happen at the end of backup, really at the end
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/queue-fixes] tracker-store: Run the that must happen at the end of backup, really at the end
- Date: Thu, 4 Nov 2010 13:18:17 +0000 (UTC)
commit ea2b8b5ab38ffe9e45209c87d163a1520c8c9fe3
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Nov 4 15:17:16 2010 +0200
tracker-store: Run the that must happen at the end of backup, really at the end
src/tracker-store/tracker-backup.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/tracker-store/tracker-backup.c b/src/tracker-store/tracker-backup.c
index 7a7dbe6..b860dad 100644
--- a/src/tracker-store/tracker-backup.c
+++ b/src/tracker-store/tracker-backup.c
@@ -73,6 +73,12 @@ backup_callback (GError *error, gpointer user_data)
dbus_g_method_return (info->context);
+ tracker_store_set_active (TRUE, NULL, NULL);
+ if (info->resources) {
+ tracker_resources_enable_signals (info->resources);
+ g_object_unref (info->resources);
+ }
+
tracker_dbus_request_success (info->request_id,
info->context);
}
@@ -135,12 +141,6 @@ backup_idle_set_active_false_cb (gpointer user_data)
busy_user_data);
g_object_unref (journal);
-
- tracker_store_set_active (TRUE, NULL, NULL);
- if (info->resources) {
- tracker_resources_enable_signals (info->resources);
- g_object_unref (info->resources);
- }
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]