[maemo-commits] [maemo-commits] r17725 - in projects/haf/trunk/hildon-thumbnail: . daemon/plugins
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Mar 18 12:12:40 EET 2009
- Previous message: [maemo-commits] r17724 - projects/haf/tags/osso-af-utils
- Next message: [maemo-commits] r17726 - projects/haf/trunk/hildon-welcome/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2009-03-18 12:12:37 +0200 (Wed, 18 Mar 2009) New Revision: 17725 Modified: projects/haf/trunk/hildon-thumbnail/ChangeLog projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-plugin.c Log: 2009-03-18 Philip Van Hoof <pvanhoof at codeminded.be> * daemon/plugins/gdk-pixbuf-plugin.c: Bug# 91658 fixed Modified: projects/haf/trunk/hildon-thumbnail/ChangeLog =================================================================== --- projects/haf/trunk/hildon-thumbnail/ChangeLog 2009-03-18 09:35:19 UTC (rev 17724) +++ projects/haf/trunk/hildon-thumbnail/ChangeLog 2009-03-18 10:12:37 UTC (rev 17725) @@ -1,3 +1,7 @@ +2009-03-18 Philip Van Hoof <pvanhoof at codeminded.be> + + * daemon/plugins/gdk-pixbuf-plugin.c: Bug# 91658 fixed + 2009-03-17 Marius Vollmer <marius.vollmer at nokia.com> Released 3.0.21 Modified: projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-plugin.c =================================================================== --- projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-plugin.c 2009-03-18 09:35:19 UTC (rev 17724) +++ projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-plugin.c 2009-03-18 10:12:37 UTC (rev 17725) @@ -212,6 +212,8 @@ if (nerror) goto nerror_handler; + pixbuf_large = gdk_pixbuf_apply_embedded_orientation (pixbuf_large); + rgb8_pixels = gdk_pixbuf_get_pixels (pixbuf_large); width = gdk_pixbuf_get_width (pixbuf_large); height = gdk_pixbuf_get_height (pixbuf_large); @@ -229,6 +231,7 @@ &nerror); g_object_unref (pixbuf_large); + g_object_unref (pixbuf_large); if (nerror) goto nerror_handler; @@ -252,6 +255,8 @@ if (nerror) goto nerror_handler; + pixbuf_normal = gdk_pixbuf_apply_embedded_orientation (pixbuf_normal); + rgb8_pixels = gdk_pixbuf_get_pixels (pixbuf_normal); width = gdk_pixbuf_get_width (pixbuf_normal); height = gdk_pixbuf_get_height (pixbuf_normal); @@ -269,6 +274,7 @@ &nerror); g_object_unref (pixbuf_normal); + g_object_unref (pixbuf_normal); if (nerror) goto nerror_handler; @@ -289,9 +295,12 @@ if (nerror) goto nerror_handler; + pixbuf = gdk_pixbuf_apply_embedded_orientation (pixbuf); + pixbuf_cropped = crop_resize (pixbuf, 124, 124); g_object_unref (pixbuf); + g_object_unref (pixbuf); rgb8_pixels = gdk_pixbuf_get_pixels (pixbuf_cropped); width = gdk_pixbuf_get_width (pixbuf_cropped);
- Previous message: [maemo-commits] r17724 - projects/haf/tags/osso-af-utils
- Next message: [maemo-commits] r17726 - projects/haf/trunk/hildon-welcome/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]