[tracker: 23/24] tracker-store: Also sync on BatchCommit



commit f5cfff7fea145f5cd5315ae292946ebfea6f2933
Author: Jürg Billeter <j bitron ch>
Date:   Fri Jan 8 17:27:26 2010 +0100

    tracker-store: Also sync on BatchCommit

 src/tracker-store/tracker-resources.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-store/tracker-resources.c b/src/tracker-store/tracker-resources.c
index 54b6997..6745a1c 100644
--- a/src/tracker-store/tracker-resources.c
+++ b/src/tracker-store/tracker-resources.c
@@ -400,8 +400,11 @@ batch_commit_callback (gpointer user_data)
 {
 	TrackerDBusMethodInfo *info = user_data;
 
+	tracker_data_sync ();
+
 	tracker_dbus_request_success (info->request_id,
 	                              info->context);
+
 	dbus_g_method_return (info->context);
 }
 



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