aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--w3mimg/fb/fb_gdkpixbuf.c6
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 5cf2640..5ae38aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-17 Hiroyuki Ito <ZXB01226@nifty.com>
+
+ * [w3m-dev 04099] Re: w3m-img gtk2
+ * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): fix resize bug
+
2004-08-06 Hiroyuki Ito <ZXB01226@nifty.com>
* [w3m-dev 04097] Re: w3m-img gtk2
@@ -8564,4 +8569,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.935 2004/08/05 18:22:15 ukai Exp $
+$Id: ChangeLog,v 1.936 2004/08/16 16:56:39 ukai Exp $
diff --git a/w3mimg/fb/fb_gdkpixbuf.c b/w3mimg/fb/fb_gdkpixbuf.c
index 3995e61..c779d90 100644
--- a/w3mimg/fb/fb_gdkpixbuf.c
+++ b/w3mimg/fb/fb_gdkpixbuf.c
@@ -1,4 +1,4 @@
-/* $Id: fb_gdkpixbuf.c,v 1.18 2004/08/05 18:22:15 ukai Exp $ */
+/* $Id: fb_gdkpixbuf.c,v 1.19 2004/08/16 16:56:40 ukai Exp $ */
/**************************************************************************
fb_gdkpixbuf.c 0.3 Copyright (C) 2002, hito
**************************************************************************/
@@ -183,11 +183,11 @@ fb_image_load(char *filename, int w, int h, int max_anim)
GdkPixbuf *org_pixbuf, *pixbuf;
org_pixbuf = gdk_pixbuf_animation_iter_get_pixbuf(iter);
- pixbuf = resize_image(org_pixbuf, fw, fh);
+ pixbuf = resize_image(org_pixbuf, w, h);
fb_frame[j]->delay = gdk_pixbuf_animation_iter_get_delay_time(iter);
g_time_val_add(&time, fb_frame[j]->delay * 1000);
- draw(fb_frame[j], 0, 0, fw, fh, pixbuf);
+ draw(fb_frame[j], 0, 0, w, h, pixbuf);
if (org_pixbuf != pixbuf)
g_object_unref(G_OBJECT(pixbuf));
gdk_pixbuf_animation_iter_advance(iter, &time);