[Commits] [SCM] claws branch, master, updated. 3.17.3-128-gf9c17d6

claws at claws-mail.org claws at claws-mail.org
Thu Mar 7 08:20:41 CET 2019


The branch, master has been updated
       via  f9c17d6035dd404039041d1d1d210b5ecf1abc0c (commit)
      from  eab0ddd5f10c2a5a9ee487015d8922c5404c7227 (commit)

Summary of changes:
 src/image_viewer.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit f9c17d6035dd404039041d1d1d210b5ecf1abc0c
Author: Paul <paul at claws-mail.org>
Date:   Thu Mar 7 07:20:36 2019 +0000

    fix build with gdk-pixbuf 2.26

diff --git a/src/image_viewer.c b/src/image_viewer.c
index f3f732c..a9eea66 100644
--- a/src/image_viewer.c
+++ b/src/image_viewer.c
@@ -89,7 +89,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);
@@ -102,7 +102,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);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list