aboutsummaryrefslogtreecommitdiffstats
path: root/w3mimg/x11/x11_w3mimg.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2004-11-08 17:14:06 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2004-11-08 17:14:06 +0000
commit0b0ee55a7cfb4b0e980d8910329093dcd1948951 (patch)
tree1fb4a1a4e52c79f807e2081ce215df4a4e990de3 /w3mimg/x11/x11_w3mimg.c
parent[w3m-dev 04128] Re: w3mimgdisplay (diff)
downloadw3m-0b0ee55a7cfb4b0e980d8910329093dcd1948951.tar.gz
w3m-0b0ee55a7cfb4b0e980d8910329093dcd1948951.zip
* w3mimg/fb/fb_gdkpixbuf.c (fb_image_load):
fix unused variable `i' * w3mimg/x11/x11_w3mimg.c (x11_load_image): ditto
Diffstat (limited to 'w3mimg/x11/x11_w3mimg.c')
-rw-r--r--w3mimg/x11/x11_w3mimg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/w3mimg/x11/x11_w3mimg.c b/w3mimg/x11/x11_w3mimg.c
index e47dcdc..f5be4a8 100644
--- a/w3mimg/x11/x11_w3mimg.c
+++ b/w3mimg/x11/x11_w3mimg.c
@@ -1,4 +1,4 @@
-/* $Id: x11_w3mimg.c,v 1.28 2004/11/08 17:08:10 ukai Exp $ */
+/* $Id: x11_w3mimg.c,v 1.29 2004/11/08 17:14:06 ukai Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -330,7 +330,7 @@ x11_load_image(w3mimg_op * self, W3MImage * img, char *fname, int w, int h)
Imlib_Image im;
#elif defined(USE_GDKPIXBUF)
GdkPixbufAnimation *animation;
- int i, j, iw, ih, n, frame_num, delay = -1, max_anim;
+ int j, iw, ih, n, frame_num, delay = -1, max_anim;
double ratio_w, ratio_h;
struct x11_image *ximg;
Pixmap tmp_pixmap;
@@ -338,6 +338,7 @@ x11_load_image(w3mimg_op * self, W3MImage * img, char *fname, int w, int h)
GdkPixbufAnimationIter *iter;
GTimeVal time;
#else
+ int i;
GList *frames;
#endif
#endif