[maemo-commits] [maemo-commits] r16851 - projects/haf/trunk/hildon-thumbnail/daemon/plugins

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Dec 4 12:12:45 EET 2008
Author: pvanhoof
Date: 2008-12-04 12:12:45 +0200 (Thu, 04 Dec 2008)
New Revision: 16851

Modified:
   projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-plugin.c
Log:
Bugfix

Modified: projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-plugin.c
===================================================================
--- projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-plugin.c	2008-12-04 08:27:19 UTC (rev 16850)
+++ projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-plugin.c	2008-12-04 10:12:45 UTC (rev 16851)
@@ -221,7 +221,7 @@
 							    width,
 							    height,
 							    rowstride,
-							    8,
+							    gdk_pixbuf_get_bits_per_sample (pixbuf_large),
 							    HILDON_THUMBNAIL_PLUGIN_OUTTYPE_LARGE,
 							    mtime, 
 							    uri, 
@@ -260,7 +260,7 @@
 							    width,
 							    height,
 							    rowstride,
-							    8,
+							    gdk_pixbuf_get_bits_per_sample (pixbuf_normal),
 							    HILDON_THUMBNAIL_PLUGIN_OUTTYPE_NORMAL,
 							    mtime, 
 							    uri, 
@@ -300,7 +300,7 @@
 							    width,
 							    height,
 							    rowstride,
-							    8,
+							    gdk_pixbuf_get_bits_per_sample (pixbuf),
 							    HILDON_THUMBNAIL_PLUGIN_OUTTYPE_CROPPED,
 							    mtime, 
 							    uri, 


More information about the maemo-commits mailing list