scaling fix. Patch from Marcus Matèrn <marcus.matern@safecareab.com>,

Mon Jun  2 13:35:49 2003  Jonathan Blandford  <jrb@redhat.com>

	* preview-file-selection.c
	(preview_file_selection_intelligent_scale): scaling fix.  Patch
	from Marcus Matèrn <marcus.matern@safecareab.com>, #113816
This commit is contained in:
Jonathan Blandford 2003-06-02 17:35:40 +00:00 committed by Jonathan Blandford
parent 5e9c5a6e85
commit 38716479b9
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Mon Jun 2 13:35:49 2003 Jonathan Blandford <jrb@redhat.com>
* preview-file-selection.c
(preview_file_selection_intelligent_scale): scaling fix. Patch
from Marcus Matèrn <marcus.matern@safecareab.com>
2003-05-07 Jody Goldberg <jody@gnome.org>
* Release 2.3.1

View file

@ -149,7 +149,7 @@ preview_file_selection_intelligent_scale (GdkPixbuf *buf, guint scale)
else
{
h = scale;
w = scale * (((double)ow)/(double)ow);
w = scale * (((double)ow)/(double)oh);
}
scaled = gdk_pixbuf_scale_simple (buf, w, h, GDK_INTERP_BILINEAR);