[w3m-dev 04099] Re: w3m-img gtk2

Hiroyuki Ito <[email protected]>
Newsgroups gmane.comp.web.w3m.devel
Message-ID <[email protected]>

 gtk2 


--- fb_gdkpixbuf.c.old	2004-08-16 18:33:32.000000000 +0900
+++ fb_gdkpixbuf.c	2004-08-16 18:34:06.000000000 +0900
@@ -183,11 +183,11 @@
 	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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.