[tracker/libtracker-miner: 260/263] Backport a4d9ab3ae7b44ea9f662949b1044206994db9ce5 to libtracker-miner.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/libtracker-miner: 260/263] Backport a4d9ab3ae7b44ea9f662949b1044206994db9ce5 to libtracker-miner.
- Date: Fri, 4 Sep 2009 09:45:11 +0000 (UTC)
commit 0c0b4f389c24d25d981edb08e967270d8ab51041
Author: Carlos Garnacho <carlos lanedo com>
Date: Thu Sep 3 17:31:21 2009 +0200
Backport a4d9ab3ae7b44ea9f662949b1044206994db9ce5 to libtracker-miner.
src/tracker-miner-fs/tracker-miner-files.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/tracker-miner-fs/tracker-miner-files.c b/src/tracker-miner-fs/tracker-miner-files.c
index d1ddad7..6794db5 100644
--- a/src/tracker-miner-fs/tracker-miner-files.c
+++ b/src/tracker-miner-fs/tracker-miner-files.c
@@ -923,14 +923,14 @@ process_file_cb (GObject *object,
tracker_sparql_builder_predicate (sparql, "a");
tracker_sparql_builder_object (sparql, "nfo:FileDataObject");
- tracker_sparql_builder_subject_iri (sparql, uri); /* Change to URN */
- tracker_sparql_builder_predicate (sparql, "nie:isStoredAs");
- tracker_sparql_builder_object_iri (sparql, uri);
-
if (g_file_info_get_file_type (file_info) == G_FILE_TYPE_DIRECTORY) {
tracker_sparql_builder_object (sparql, "nfo:Folder");
}
+ tracker_sparql_builder_subject_iri (sparql, uri); /* Change to URN */
+ tracker_sparql_builder_predicate (sparql, "nie:isStoredAs");
+ tracker_sparql_builder_object_iri (sparql, uri);
+
parent = g_file_get_parent (file);
if (parent) {
parent_uri = g_file_get_uri (parent);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]