[tracker] TrackerMinerApplications: Fix typo.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] TrackerMinerApplications: Fix typo.
- Date: Mon, 28 Jun 2010 16:36:53 +0000 (UTC)
commit b2b35b8499818fdb33a9116118c64e502d8bca88
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jun 28 18:30:21 2010 +0200
TrackerMinerApplications: Fix typo.
The wrong urn was being set for some properties in .directory files.
src/miners/fs/tracker-miner-applications.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-applications.c b/src/miners/fs/tracker-miner-applications.c
index 62f1bd7..08b86ae 100644
--- a/src/miners/fs/tracker-miner-applications.c
+++ b/src/miners/fs/tracker-miner-applications.c
@@ -436,15 +436,10 @@ miner_applications_process_file_cb (gpointer user_data)
tracker_sparql_builder_object_string (sparql, filename);
g_free (filename);
- desktop_file_uri = g_file_get_uri (data->file);
- tracker_sparql_builder_subject_iri (sparql, desktop_file_uri);
- tracker_sparql_builder_predicate (sparql, "a");
- tracker_sparql_builder_object (sparql, "nfo:FileDataObject");
- tracker_sparql_builder_object (sparql, "nie:DataObject");
-
/* The URL of the DataObject */
+ desktop_file_uri = g_file_get_uri (data->file);
tracker_sparql_builder_predicate (sparql, "nie:url");
- tracker_sparql_builder_object_string (sparql, uri);
+ tracker_sparql_builder_object_string (sparql, desktop_file_uri);
/* Laying the link between the IE and the DO */
tracker_sparql_builder_subject_iri (sparql, uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]