Commit 70424f5a authored by Carlos Garnacho's avatar Carlos Garnacho Committed by Martyn Russell

libtracker-miner: Add back the code removing thumbnail/albumart

The mimetype isn't needed there after all.
parent c15d92eb
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment