[tracker/miner-fs-refactor: 116/120] libtracker-miner: Add back the code removing thumbnail/albumart
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-fs-refactor: 116/120] libtracker-miner: Add back the code removing thumbnail/albumart
- Date: Mon, 28 Nov 2011 13:38:02 +0000 (UTC)
commit c74befcfa9204fd8b5cc1538f5449fe8c1886582
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Nov 22 16:46:25 2011 +0100
libtracker-miner: Add back the code removing thumbnail/albumart
The mimetype isn't needed there after all.
src/libtracker-miner/tracker-miner-fs.c | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 8b63e31..057219d 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1267,7 +1267,6 @@ item_remove (TrackerMinerFS *fs,
gboolean only_children)
{
gchar *uri;
- gchar *mime = NULL;
TrackerTask *task;
guint flags = 0;
@@ -1278,17 +1277,11 @@ item_remove (TrackerMinerFS *fs,
if (!only_children) {
flags = TRACKER_BULK_MATCH_EQUALS;
+ } else {
+ tracker_thumbnailer_remove_add (uri, NULL);
+ tracker_albumart_remove_add (uri, NULL);
}
-#if 0
- /* FIXME: Find out mime to remove thumbnail/albumart */
-
- tracker_thumbnailer_remove_add (uri, mime);
- tracker_albumart_remove_add (uri, mime);
-#endif
-
- g_free (mime);
-
/* FIRST:
* Remove tracker:available for the resources we're going to remove.
* This is done so that unavailability of the resources is marked as soon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]