[tracker/tracker-store-queue] Cleanup should always be immediate
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker/tracker-store-queue] Cleanup should always be immediate
- Date: Mon, 25 May 2009 09:26:51 -0400 (EDT)
commit 41db02c063b9a58fa1a4b3674e63df0b4a51d9ac
Author: Philip Van Hoof <philip codeminded be>
Date: Mon May 25 15:25:44 2009 +0200
Cleanup should always be immediate
---
.../evolution/tracker-evolution-registrar.c | 3 +--
src/plugins/kmail/tracker-kmail-registrar.c | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/plugins/evolution/tracker-evolution-registrar.c b/src/plugins/evolution/tracker-evolution-registrar.c
index 652a91b..217aed2 100644
--- a/src/plugins/evolution/tracker-evolution-registrar.c
+++ b/src/plugins/evolution/tracker-evolution-registrar.c
@@ -515,8 +515,7 @@ perform_unset (TrackerEvolutionRegistrar *object,
static void
perform_cleanup (TrackerEvolutionRegistrar *object)
{
- tracker_store_queue_sparql_update ("DELETE { ?s ?p ?o } WHERE { ?s nie:dataSource <" DATASOURCE_URN "> }",
- NULL, NULL, NULL);
+ tracker_store_sparql_update ("DELETE { ?s ?p ?o } WHERE { ?s nie:dataSource <" DATASOURCE_URN "> }", NULL);
}
static void
diff --git a/src/plugins/kmail/tracker-kmail-registrar.c b/src/plugins/kmail/tracker-kmail-registrar.c
index 8eae787..a524555 100644
--- a/src/plugins/kmail/tracker-kmail-registrar.c
+++ b/src/plugins/kmail/tracker-kmail-registrar.c
@@ -298,8 +298,7 @@ perform_unset (TrackerKMailRegistrar *object,
static void
perform_cleanup (TrackerKMailRegistrar *object)
{
- tracker_store_queue_sparql_update ("DELETE { ?s ?p ?o } WHERE { ?s nie:dataSource <" DATASOURCE_URN "> }",
- NULL, NULL, NULL);
+ tracker_store_sparql_update ("DELETE { ?s ?p ?o } WHERE { ?s nie:dataSource <" DATASOURCE_URN "> }", NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]