[tracker/async-queries-due] TrackerStore: Fix harmless typo.



commit 7d0c33bf3acdb66a64180c0d03c060b75625686f
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Apr 16 14:07:55 2010 +0200

    TrackerStore: Fix harmless typo.
    
    The variable should have the same place within the union.

 src/tracker-store/tracker-store.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-store/tracker-store.c b/src/tracker-store/tracker-store.c
index 8f5c823..dd1b9d0 100644
--- a/src/tracker-store/tracker-store.c
+++ b/src/tracker-store/tracker-store.c
@@ -633,7 +633,7 @@ tracker_store_sparql_query (const gchar *sparql,
 
 	task = g_slice_new0 (TrackerStoreTask);
 	task->type = TRACKER_STORE_TASK_TYPE_QUERY;
-	task->data.update.query = g_strdup (sparql);
+	task->data.query.query = g_strdup (sparql);
 	task->user_data = user_data;
 	task->callback.query_callback = callback;
 	task->destroy = destroy;



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