[gnome-photos/wip/rishi/de-dup: 5/9] application: Register XMP namespace
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/de-dup: 5/9] application: Register XMP namespace
- Date: Tue, 6 Sep 2016 18:47:56 +0000 (UTC)
commit a1e462c04e5e2b98d34f4a12637fdc752a8ed01d
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Sep 6 19:32:27 2016 +0200
application: Register XMP namespace
src/photos-application.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 793b213..356c912 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -632,6 +632,7 @@ static gboolean
photos_application_create_window (PhotosApplication *self)
{
gboolean gexiv2_initialized;
+ gboolean gexiv2_registered_namespace;
if (self->main_window != NULL)
return TRUE;
@@ -639,6 +640,9 @@ photos_application_create_window (PhotosApplication *self)
gexiv2_initialized = gexiv2_initialize ();
g_return_val_if_fail (gexiv2_initialized, FALSE);
+ gexiv2_registered_namespace = gexiv2_metadata_register_xmp_namespace ("http://www.gnome.org/xmp", "gnome");
+ g_return_val_if_fail (gexiv2_registered_namespace, FALSE);
+
g_return_val_if_fail (photos_application_sanity_check_gegl (self), FALSE);
self->main_window = photos_main_window_new (GTK_APPLICATION (self));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]