talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 78547fd63e16a76d656e668c17b7ae8975c46e12
parent 08697167f45960f875d22f82e77bd5b633b8e5a0
Author: Paul <paul@claws-mail.org>
Date:   Thu,  7 Mar 2019 07:20:36 +0000

fix build with gdk-pixbuf 2.26

Diffstat:
Msrc/image_viewer.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/image_viewer.c b/src/image_viewer.c @@ -88,7 +88,7 @@ static void image_viewer_load_image(ImageViewer *imageviewer) return; } -#if GDK_PIXBUF_CHECK_VERSION(2, 28, 0) +#if GDK_PIXBUF_MINOR >= 28 animation = gdk_pixbuf_animation_new_from_stream(stream, NULL, &error); #else pixbuf = gdk_pixbuf_new_from_stream(stream, NULL, &error); @@ -101,7 +101,7 @@ static void image_viewer_load_image(ImageViewer *imageviewer) return; } -#if GDK_PIXBUF_CHECK_VERSION(2, 28, 0) +#if GDK_PIXBUF_MINOR >= 28 if (gdk_pixbuf_animation_is_static_image(animation) || imageviewer->resize_img) { pixbuf = gdk_pixbuf_animation_get_static_image(animation);