[gthumb] use png_jmpbug if libpng 1.4 is available



commit 8c1695d8ce17762cf3d30646fa36b084e1936638
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri Oct 28 18:00:08 2011 +0200

    use png_jmpbug if libpng 1.4 is available

 extensions/cairo_io/cairo-io-png.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/cairo_io/cairo-io-png.c b/extensions/cairo_io/cairo-io-png.c
index 45d0c9d..5a86537 100644
--- a/extensions/cairo_io/cairo-io-png.c
+++ b/extensions/cairo_io/cairo-io-png.c
@@ -30,7 +30,7 @@
 #define PNG_SETJMP(ptr) setjmp(png_jmpbuf(ptr))
 
 #ifdef PNG_LIBPNG_VER
-#if PNG_LIBPNG_VER < 10500
+#if PNG_LIBPNG_VER < 10400
 #ifdef PNG_SETJMP
 #undef PNG_SETJMP
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]