[gimp] libgimp: use gexiv2_metadata_get_tag_interpreted_string() for the comment
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp: use gexiv2_metadata_get_tag_interpreted_string() for the comment
- Date: Sun, 27 Oct 2013 21:30:06 +0000 (UTC)
commit f9e2614c8c05322e5a9910e823936b5c821faa2f
Author: Michael Natterer <mitch gimp org>
Date: Sun Oct 27 22:28:28 2013 +0100
libgimp: use gexiv2_metadata_get_tag_interpreted_string() for the comment
So the charset="foo" is stripped away and we get the string as it is
supposed to be presented to the user.
libgimp/gimpmetadata.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgimp/gimpmetadata.c b/libgimp/gimpmetadata.c
index cb9f73e..b807d90 100644
--- a/libgimp/gimpmetadata.c
+++ b/libgimp/gimpmetadata.c
@@ -132,11 +132,11 @@ gimp_image_metadata_load_finish (gint32 image_ID,
{
gchar *comment;
- comment = gexiv2_metadata_get_tag_string (metadata,
- "Exif.Photo.UserComment");
+ comment = gexiv2_metadata_get_tag_interpreted_string (metadata,
+ "Exif.Photo.UserComment");
if (! comment)
- comment = gexiv2_metadata_get_tag_string (metadata,
- "Exif.Image.ImageDescription");
+ comment = gexiv2_metadata_get_tag_interpreted_string (metadata,
+ "Exif.Image.ImageDescription");
if (comment)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]