[tracker/pushplugin] Async update



commit 27a380523109953322c4383e7f37e5948aad20f6
Author: Philip Van Hoof <philip codeminded be>
Date:   Mon Sep 21 09:57:40 2009 +0200

    Async update

 src/plugins/evolution/tracker-evolution-plugin.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/evolution/tracker-evolution-plugin.c b/src/plugins/evolution/tracker-evolution-plugin.c
index cac4905..78ea07e 100644
--- a/src/plugins/evolution/tracker-evolution-plugin.c
+++ b/src/plugins/evolution/tracker-evolution-plugin.c
@@ -267,7 +267,8 @@ send_sparql_commit (gboolean update)
 			                                 "WHERE { <" DATASOURCE_URN "> a nie:InformationElement ; nie:contentLastModified ?d } \n"
 			                                 "INSERT { <" DATASOURCE_URN "> nie:contentLastModified \"%s\" }",
 			                                 tracker_date_to_string (time(NULL)));
-			tracker_resources_batch_sparql_update (client, update, NULL);
+			tracker_resources_batch_sparql_update_async (client, update, 
+			                                             on_replied, NULL);
 			g_free (update);
 		}
 



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