[maemo-commits] [maemo-commits] r16798 - in projects/haf/trunk/hildon-thumbnail: . daemon

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Nov 28 12:59:59 EET 2008
Author: pvanhoof
Date: 2008-11-28 12:59:58 +0200 (Fri, 28 Nov 2008)
New Revision: 16798

Modified:
   projects/haf/trunk/hildon-thumbnail/ChangeLog
   projects/haf/trunk/hildon-thumbnail/daemon/thumbnailer.c
Log:
2008-11-28  Philip Van Hoof  <philip at codeminded.be>

        * daemon/thumbnailer.c: Fixed a bug when there where more than
        one URI in a request that had the same URI schema



Modified: projects/haf/trunk/hildon-thumbnail/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-thumbnail/ChangeLog	2008-11-28 10:57:58 UTC (rev 16797)
+++ projects/haf/trunk/hildon-thumbnail/ChangeLog	2008-11-28 10:59:58 UTC (rev 16798)
@@ -1,5 +1,10 @@
 2008-11-28  Philip Van Hoof  <philip at codeminded.be>
 
+	* daemon/thumbnailer.c: Fixed a bug when there where more than
+	one URI in a request that had the same URI schema
+
+2008-11-28  Philip Van Hoof  <philip at codeminded.be>
+
 	* daemon/thumbnailer.c
 	* daemon/thumbnail-manager.c: Fixed the GetSupported DBus method
 

Modified: projects/haf/trunk/hildon-thumbnail/daemon/thumbnailer.c
===================================================================
--- projects/haf/trunk/hildon-thumbnail/daemon/thumbnailer.c	2008-11-28 10:57:58 UTC (rev 16797)
+++ projects/haf/trunk/hildon-thumbnail/daemon/thumbnailer.c	2008-11-28 10:59:58 UTC (rev 16798)
@@ -472,7 +472,7 @@
 						     /* XU2 */ urls[i]);
 				}
 
-				hash = g_hash_table_lookup (schemes, mime_type);
+				hash = g_hash_table_lookup (schemes, uri_scheme);
 
 				if (!hash) {
 					hash = g_hash_table_new (g_str_hash, g_str_equal);


More information about the maemo-commits mailing list