[gimp/gimp-2-10] libgimp: fix gimp_image_metadata_save_prepare()'s check for IPTC flags
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] libgimp: fix gimp_image_metadata_save_prepare()'s check for IPTC flags
- Date: Tue, 24 Sep 2019 10:14:43 +0000 (UTC)
commit 871b9fedae2b897b20ef074cb8a61b1a1c4273dd
Author: Michael Natterer <mitch gimp org>
Date: Tue Sep 24 12:11:59 2019 +0200
libgimp: fix gimp_image_metadata_save_prepare()'s check for IPTC flags
it was checking gimp_export_xmp() not gimp_export_iptc(), probably a
copy/paste error.
(cherry picked from commit 70ac0e9d9a683cd84b3736b9e45cd15fe70b3252)
libgimp/gimpimagemetadata.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgimp/gimpimagemetadata.c b/libgimp/gimpimagemetadata.c
index 3312e11b91..a9dfe9f648 100644
--- a/libgimp/gimpimagemetadata.c
+++ b/libgimp/gimpimagemetadata.c
@@ -338,7 +338,7 @@ gimp_image_metadata_save_prepare (gint32 image_ID,
/* IPTC */
- if (! gimp_export_xmp () ||
+ if (! gimp_export_iptc () ||
! gexiv2_metadata_has_iptc (g2metadata))
*suggested_flags &= ~GIMP_METADATA_SAVE_IPTC;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]