From c3c95ab2187037793f9a827a8930eb4080337487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Sat, 11 Feb 2012 02:34:18 +0100 Subject: Removed slideshow support --- image.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'image.c') diff --git a/image.c b/image.c index 619edfb..7185ce6 100644 --- a/image.c +++ b/image.c @@ -68,8 +68,6 @@ void img_init(img_t *img, win_t *win) { img->dirty = false; img->aa = options->aa; img->alpha = true; - img->slideshow = false; - img->ss_delay = SLIDESHOW_DELAY * 1000; img->multi.cap = img->multi.cnt = 0; img->multi.animate = false; } @@ -725,7 +723,7 @@ bool img_frame_animate(img_t *img, bool restart) { return false; if (img->multi.sel + 1 >= img->multi.cnt) { - if (restart || (GIF_LOOP && !img->slideshow)) { + if (restart || GIF_LOOP) { img_frame_goto(img, 0); } else { img->multi.animate = false; -- cgit v1.2.3