[tracker/miner-gdata] tracker-miner-gdata: Fix use of insert_open



commit f20524ffc583895fe196c1cb544b61264cd3b58a
Author: Adrien Bustany <abustany gnome org>
Date:   Fri Mar 12 12:06:10 2010 -0300

    tracker-miner-gdata: Fix use of insert_open
    
    This commit makes SparqlBuilder.insert_open use the url of the inserted
    resource instead of the url of the datasource.

 .../tracker-miner-picasaweb.vala                   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-miner-gdata/tracker-miner-picasaweb.vala b/src/tracker-miner-gdata/tracker-miner-picasaweb.vala
index 7bb1a63..14c6913 100644
--- a/src/tracker-miner-gdata/tracker-miner-picasaweb.vala
+++ b/src/tracker-miner-gdata/tracker-miner-picasaweb.vala
@@ -96,7 +96,7 @@ public class MinerPicasaweb : Tracker.MinerWeb {
 
 			builder = new SparqlBuilder.update ();
 
-			builder.insert_open (DATASOURCE_URN);
+			builder.insert_open (current_file_url);
 
 			builder.subject ("_:picture");
 			builder.predicate ("a");



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