[tracker/rss-enclosures] plugins/kmail: Compilation warning fixes
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] plugins/kmail: Compilation warning fixes
- Date: Mon, 3 May 2010 00:31:28 +0000 (UTC)
commit 7e6a5c5339121d20c802ff04cb2f91785a8aaf12
Author: Philip Van Hoof <philip codeminded be>
Date: Mon Apr 12 13:20:25 2010 +0200
plugins/kmail: Compilation warning fixes
src/plugins/kmail/tracker-kmail-registrar.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/kmail/tracker-kmail-registrar.c b/src/plugins/kmail/tracker-kmail-registrar.c
index 848012d..7bff9e7 100644
--- a/src/plugins/kmail/tracker-kmail-registrar.c
+++ b/src/plugins/kmail/tracker-kmail-registrar.c
@@ -356,8 +356,9 @@ perform_set (TrackerKMailRegistrar *object,
tracker_sparql_builder_insert_close (sparql);
- tracker_store_queue_sparql_update (tracker_sparql_builder_get_result (sparql),
- NULL, NULL, NULL, NULL);
+ tracker_store_sparql_update (tracker_sparql_builder_get_result (sparql),
+ TRACKER_STORE_PRIORITY_LOW,
+ TRUE, NULL, "KMail plugin", NULL, NULL);
g_object_unref (sparql);
}
@@ -369,7 +370,8 @@ perform_unset (TrackerKMailRegistrar *object,
gchar *sparql = g_strdup_printf ("DELETE FROM <%s> { <%s> a rdfs:Resource }",
subject, subject);
- tracker_store_queue_sparql_update (sparql, NULL, NULL, NULL, NULL);
+ tracker_store_sparql_update (sparql, TRACKER_STORE_PRIORITY_LOW, TRUE, NULL,
+ "KMail plugin", NULL, NULL);
g_free (sparql);
}
@@ -377,7 +379,8 @@ perform_unset (TrackerKMailRegistrar *object,
static void
perform_cleanup (TrackerKMailRegistrar *object)
{
- tracker_store_queue_sparql_update ("DELETE FROM <"DATASOURCE_URN"> { ?s a rdfs:Resource } WHERE { ?s nie:dataSource <" DATASOURCE_URN "> }", NULL, NULL, NULL, NULL);
+ tracker_store_sparql_update ("DELETE FROM <"DATASOURCE_URN"> { ?s a rdfs:Resource } WHERE { ?s nie:dataSource <" DATASOURCE_URN "> }",
+ TRACKER_STORE_PRIORITY_LOW, TRUE, NULL, "KMail plugin", NULL, NULL);
/* tracker_store_queue_sparql_update ("DELETE FROM <"DATASOURCE_URN"> { ?s ?p ?o } WHERE { ?s nie:dataSource <" DATASOURCE_URN "> }", NULL, NULL, NULL, NULL); */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]