[tracker] libtracker-miner: sparql_query_cb() called now item_query_exists_cb()
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-miner: sparql_query_cb() called now item_query_exists_cb()
- Date: Wed, 14 Jul 2010 07:27:40 +0000 (UTC)
commit 9fa52b6e7581632b03432f97ea0383163904a12a
Author: Aleksander Morgado <aleksander lanedo com>
Date: Tue Jul 13 12:30:57 2010 +0200
libtracker-miner: sparql_query_cb() called now item_query_exists_cb()
src/libtracker-miner/tracker-miner-fs.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index a72faab..1903257 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -72,7 +72,7 @@ typedef struct {
gchar *iri;
gchar *mime;
gboolean get_mime;
-} SparqlQueryData;
+} ItemQueryExistsData;
typedef struct {
GMainLoop *main_loop;
@@ -1066,11 +1066,11 @@ sparql_update_cb (GObject *object,
}
static void
-sparql_query_cb (GObject *object,
- GAsyncResult *result,
- gpointer user_data)
+item_query_exists_cb (GObject *object,
+ GAsyncResult *result,
+ gpointer user_data)
{
- SparqlQueryData *data = user_data;
+ ItemQueryExistsData *data = user_data;
TrackerResultIterator *iterator;
TrackerMiner *miner;
GError *error = NULL;
@@ -1122,7 +1122,7 @@ item_query_exists (TrackerMinerFS *miner,
{
gboolean result;
gchar *sparql, *uri;
- SparqlQueryData data = { 0 };
+ ItemQueryExistsData data = { 0 };
data.get_mime = (mime != NULL);
@@ -1140,7 +1140,7 @@ item_query_exists (TrackerMinerFS *miner,
tracker_miner_execute_sparql (TRACKER_MINER (miner),
sparql,
NULL,
- sparql_query_cb,
+ item_query_exists_cb,
&data);
g_main_loop_run (data.main_loop);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]