tracker r2873 - in trunk: . src/tracker-extract



Author: pvanhoof
Date: Mon Feb  2 17:12:47 2009
New Revision: 2873
URL: http://svn.gnome.org/viewvc/tracker?rev=2873&view=rev

Log:
2009-02-02  Philip Van Hoof  <philip codeminded be>

        * src/tracker-extract/tracker-albumart.c: Bugfix for album-art
        thumbnail request



Modified:
   trunk/ChangeLog
   trunk/src/tracker-extract/tracker-albumart.c

Modified: trunk/src/tracker-extract/tracker-albumart.c
==============================================================================
--- trunk/src/tracker-extract/tracker-albumart.c	(original)
+++ trunk/src/tracker-extract/tracker-albumart.c	Mon Feb  2 17:12:47 2009
@@ -548,7 +548,7 @@
 
 	if (g_file_test (info->art_path, G_FILE_TEST_EXISTS)) {
 
-		gchar * asuri = g_strdup_printf ("file://", info->art_path);
+		gchar * asuri = g_strdup_printf ("file://%s", info->art_path);
 		tracker_thumbnailer_get_file_thumbnail (asuri, "image/jpeg");
 		g_free (asuri);
 
@@ -763,7 +763,7 @@
 		 * device */
 
 		if (g_file_test (art_path, G_FILE_TEST_EXISTS)) {
-			gchar *asuri = g_strdup_printf ("file://", art_path);
+			gchar *asuri = g_strdup_printf ("file://%s", art_path);
 			tracker_thumbnailer_get_file_thumbnail (asuri, "image/jpeg");
 			g_free (asuri);
 		}



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