[tracker/miner-flickr: 3/6] tracker-miner-flickr: Fix use of insert_open
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-flickr: 3/6] tracker-miner-flickr: Fix use of insert_open
- Date: Thu, 18 Mar 2010 15:01:27 +0000 (UTC)
commit e7510b568e86eb796167a55c175b9fbf5ea0d351
Author: Adrien Bustany <abustany gnome org>
Date: Fri Mar 12 12:08:07 2010 -0300
tracker-miner-flickr: 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.
src/tracker-miner-flickr/tracker-miner-flickr.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-miner-flickr/tracker-miner-flickr.vala b/src/tracker-miner-flickr/tracker-miner-flickr.vala
index 65d38d4..8eeecab 100644
--- a/src/tracker-miner-flickr/tracker-miner-flickr.vala
+++ b/src/tracker-miner-flickr/tracker-miner-flickr.vala
@@ -155,7 +155,7 @@ public class MinerFlickr : Tracker.MinerWeb {
message ("Getting photos for album %s", photoset_url);
builder = new SparqlBuilder.update ();
- builder.insert_open (DATASOURCE_URN);
+ builder.insert_open (photoset_url);
builder.subject ("_:album");
builder.predicate ("a");
@@ -214,7 +214,7 @@ public class MinerFlickr : Tracker.MinerWeb {
photo_node.get_attr ("id"),
photo_node.get_attr ("secret"));
builder = new SparqlBuilder.update ();
- builder.insert_open (DATASOURCE_URN);
+ builder.insert_open (photo_url);
builder.subject ("_:photo");
builder.predicate ("a");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]