[gimp/metadata-wip-rebased: 2/9] libgimp: actually set the metadata on the image in load()



commit 444ed0915c967ee01b5fb1ef8e58fd0fb022c456
Author: Michael Natterer <mitch gimp org>
Date:   Tue Oct 22 18:56:47 2013 +0200

    libgimp: actually set the metadata on the image in load()

 libgimp/gimpmetadata.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libgimp/gimpmetadata.c b/libgimp/gimpmetadata.c
index f1cc2b8..700da1e 100644
--- a/libgimp/gimpmetadata.c
+++ b/libgimp/gimpmetadata.c
@@ -95,6 +95,10 @@ gimp_image_metadata_load (gint32       image_ID,
                                         metadata, interactive);
 
       gexiv2_metadata_erase_exif_thumbnail (metadata);
+
+      gimp_image_set_metadata (image_ID, metadata);
+
+      g_object_unref (metadata);
     }
 }
 


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