[tracker/class-signal: 41/61] tracker-writeback: Fixed compilation errors



commit 02e79bd961336170285d4d1338cb43c0a2bcf8a5
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed Aug 25 16:17:08 2010 +0200

    tracker-writeback: Fixed compilation errors

 src/tracker-writeback/tracker-writeback-taglib.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-writeback/tracker-writeback-taglib.c b/src/tracker-writeback/tracker-writeback-taglib.c
index 57b2bbe..fae733b 100644
--- a/src/tracker-writeback/tracker-writeback-taglib.c
+++ b/src/tracker-writeback/tracker-writeback-taglib.c
@@ -207,10 +207,8 @@ writeback_taglib_get_from_query (TrackerSparqlConnection *connection,
                                  const gchar             *query,
                                  const gchar             *errmsg)
 {
-	gchar *query;
 	TrackerSparqlCursor *cursor;
 	GError *error = NULL;
-	GError *error = NULL;
 	gchar *value = NULL;
 
 	cursor = tracker_sparql_connection_query (connection,
@@ -228,7 +226,7 @@ writeback_taglib_get_from_query (TrackerSparqlConnection *connection,
 			g_error_free (error);
 		}
 	} else {
-		value = g_strdup (tracker_sparql_cursor_get_string (cursor, 0));
+		value = g_strdup (tracker_sparql_cursor_get_string (cursor, 0, NULL));
 	}
 
 	g_object_unref (cursor);



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