[maemo-commits] [maemo-commits] r16921 - projects/haf/trunk/hildon-thumbnail/thumbs

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Dec 10 11:03:27 EET 2008
Author: pvanhoof
Date: 2008-12-10 11:03:26 +0200 (Wed, 10 Dec 2008)
New Revision: 16921

Modified:
   projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c
Log:
Bugfix

Modified: projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c
===================================================================
--- projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c	2008-12-10 09:00:26 UTC (rev 16920)
+++ projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c	2008-12-10 09:03:26 UTC (rev 16921)
@@ -852,7 +852,7 @@
 			path = g_strdup (cropped);
 		g_object_unref (fcropped);
 
-	} else if (width < 128) {
+	} else if (width <= 128 || height <= 128) {
 
 		GFile *fnormal = g_file_new_for_uri (local_normal);
 		if (g_file_query_exists (fnormal, NULL))


More information about the maemo-commits mailing list