[gthumb/gthumb-3-8] removed HAVE_EXIV2_020 because we require at least version 0.21



commit dbaa6e987107c75d728213d867075f5d0754f8ab
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Dec 18 09:09:29 2019 +0100

    removed HAVE_EXIV2_020 because we require at least version 0.21

 extensions/exiv2_tools/exiv2-utils.cpp | 2 --
 meson.build                            | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/extensions/exiv2_tools/exiv2-utils.cpp b/extensions/exiv2_tools/exiv2-utils.cpp
index aeb927d3..8c52c593 100644
--- a/extensions/exiv2_tools/exiv2-utils.cpp
+++ b/extensions/exiv2_tools/exiv2-utils.cpp
@@ -1374,9 +1374,7 @@ gboolean
 exiv2_supports_writes (const char *mime_type)
 {
        return (g_content_type_equals (mime_type, "image/jpeg")
-#if HAVE_EXIV2_020
                || g_content_type_equals (mime_type, "image/tiff")
-#endif
                || g_content_type_equals (mime_type, "image/png"));
 }
 
diff --git a/meson.build b/meson.build
index 5231b62f..4ad27579 100644
--- a/meson.build
+++ b/meson.build
@@ -240,7 +240,7 @@ if get_option('run-in-place')
   config_data.set('RUN_IN_PLACE', 1)
 endif
 if use_exiv2
-  config_data.set('HAVE_EXIV2_020', 1)
+  config_data.set('HAVE_EXIV2', 1)
 endif
 if use_clutter
   config_data.set('HAVE_CLUTTER', 1)


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