[tracker/tracker-0.6] Bugfix sending the uri to the thumbnailer of deleted files
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker/tracker-0.6] Bugfix sending the uri to the thumbnailer of deleted files
- Date: Tue, 23 Jun 2009 06:34:29 -0400 (EDT)
commit 2e11865d989e3ac462ecfe32c5da8c272f05230b
Author: Philip Van Hoof <philip codeminded be>
Date: Tue Jun 23 12:27:51 2009 +0200
Bugfix sending the uri to the thumbnailer of deleted files
src/tracker-indexer/tracker-indexer.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-indexer/tracker-indexer.c b/src/tracker-indexer/tracker-indexer.c
index 378dda7..c57c8b3 100644
--- a/src/tracker-indexer/tracker-indexer.c
+++ b/src/tracker-indexer/tracker-indexer.c
@@ -1984,7 +1984,8 @@ item_erase (TrackerIndexer *indexer,
gchar *uri;
/* TODO URI branch: this is a URI conversion */
- path = g_build_path (tracker_data_metadata_lookup (data_metadata, "File:Path"),
+ path = g_build_path (G_DIR_SEPARATOR_S,
+ tracker_data_metadata_lookup (data_metadata, "File:Path"),
tracker_data_metadata_lookup (data_metadata, "File:Name"),
NULL);
file = g_file_new_for_path (path);
@@ -1996,6 +1997,7 @@ item_erase (TrackerIndexer *indexer,
tracker_data_metadata_free (data_metadata);
g_free (uri);
+ g_free (path);
}
/* Get content, unindex the words and delete the contents */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]