[gthumb] removed HAVE_EXIV2_020 because we require at least version 0.21
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] removed HAVE_EXIV2_020 because we require at least version 0.21
- Date: Wed, 18 Dec 2019 08:58:26 +0000 (UTC)
commit ca9d6993a4f3b407bfd6346069707d18870e980d
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 ddab1918..39344d3e 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 2b5e68c2..22bcb65c 100644
--- a/meson.build
+++ b/meson.build
@@ -241,7 +241,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]