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



commit e70db9df73f9b2547dc3e23e35d70f2fe061613d
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]