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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed May 27 13:16:20 EEST 2009
Author: pvanhoof
Date: 2009-05-27 13:16:13 +0300 (Wed, 27 May 2009)
New Revision: 18503

Modified:
   projects/haf/trunk/hildon-thumbnail/ChangeLog
   projects/haf/trunk/hildon-thumbnail/daemon/plugins/epeg-plugin.c
Log:
2009-05-27  Philip Van Hoof  <philip at codeminded.be>

        * Bugfix for a crash reported by mail
        * Bugfix for NB#118963, cropped scaling for small images



Modified: projects/haf/trunk/hildon-thumbnail/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-thumbnail/ChangeLog	2009-05-27 08:45:04 UTC (rev 18502)
+++ projects/haf/trunk/hildon-thumbnail/ChangeLog	2009-05-27 10:16:13 UTC (rev 18503)
@@ -1,6 +1,7 @@
-2009-05-25  Philip Van Hoof  <philip at codeminded.be>
+2009-05-27  Philip Van Hoof  <philip at codeminded.be>
 
 	* Bugfix for a crash reported by mail
+	* Bugfix for NB#118963, cropped scaling for small images
 
 2009-05-26  Marius Vollmer  <marius.vollmer at nokia.com>
 

Modified: projects/haf/trunk/hildon-thumbnail/daemon/plugins/epeg-plugin.c
===================================================================
--- projects/haf/trunk/hildon-thumbnail/daemon/plugins/epeg-plugin.c	2009-05-27 08:45:04 UTC (rev 18502)
+++ projects/haf/trunk/hildon-thumbnail/daemon/plugins/epeg-plugin.c	2009-05-27 10:16:13 UTC (rev 18503)
@@ -425,8 +425,9 @@
 			/* Epeg doesn't behave as expected when the destination is larger
 			 * than the source */
 
-			pixbuf_large1 = gdk_pixbuf_new_from_file_at_size (path, 
-									 ww, wh, 
+			pixbuf_large1 = gdk_pixbuf_new_from_file_at_scale (path, 
+									 LARGE, LARGE, 
+									  TRUE,
 									 &nerror);
 			epeg_close (im);
 


More information about the maemo-commits mailing list