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:
parent
5e9c5a6e85
commit
38716479b9
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
2003-05-07 Jody Goldberg <jody@gnome.org>
|
||||||
|
|
||||||
* Release 2.3.1
|
* Release 2.3.1
|
||||||
|
|
|
@ -149,7 +149,7 @@ preview_file_selection_intelligent_scale (GdkPixbuf *buf, guint scale)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
h = scale;
|
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);
|
scaled = gdk_pixbuf_scale_simple (buf, w, h, GDK_INTERP_BILINEAR);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue