[tracker/cleanup-media-art] Fixes, squash



commit 453d8b1afb6e27bc50b868ab5b09b3b0f35e8b3d
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed May 18 15:09:08 2011 +0200

    Fixes, squash

 src/libtracker-miner/tracker-albumart.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-albumart.c b/src/libtracker-miner/tracker-albumart.c
index 0d1c8e1..cb47999 100644
--- a/src/libtracker-miner/tracker-albumart.c
+++ b/src/libtracker-miner/tracker-albumart.c
@@ -103,7 +103,7 @@ on_query_finished (GObject      *source_object,
 
 		if (!value) {
 			g_message ("Removing media-art file %s: no album exists that has "
-			           "more than one song for this media-art cache", name);
+			           "any songs for this media-art cache", name);
 			to_remove = g_list_prepend (to_remove, (gpointer) full);
 		} else {
 			g_free (full);
@@ -157,7 +157,7 @@ tracker_albumart_remove_add (const gchar *uri,
 
 	g_return_val_if_fail (uri != NULL, FALSE);
 
-	if (!mime_type || (g_str_has_prefix (mime_type, "video/") || g_str_has_prefix (mime_type, "audio/"))) {
+	if (mime_type && (g_str_has_prefix (mime_type, "video/") || g_str_has_prefix (mime_type, "audio/"))) {
 		had_any = TRUE;
 	}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]