summaryrefslogtreecommitdiff
path: root/src/eom-image.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-08-05 11:58:02 +0200
committerraveit65 <[email protected]>2018-08-05 11:58:02 +0200
commit22f5b2067bd2c0e820a12da18502b5e7099e984d (patch)
tree8ca68d6246b720b740c74c1842101bb2510932ea /src/eom-image.c
parent70fd47058ace7814ec7f83243a62254e887f88ab (diff)
downloadeom-22f5b2067bd2c0e820a12da18502b5e7099e984d.tar.bz2
eom-22f5b2067bd2c0e820a12da18502b5e7099e984d.tar.xz
Fix build without XMP support
https://bugzilla.gnome.org/show_bug.cgi?id=737213 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/037affa
Diffstat (limited to 'src/eom-image.c')
-rw-r--r--src/eom-image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eom-image.c b/src/eom-image.c
index 9011138..5db3699 100644
--- a/src/eom-image.c
+++ b/src/eom-image.c
@@ -2040,14 +2040,14 @@ eom_image_get_exif_info (EomImage *img)
gpointer
eom_image_get_xmp_info (EomImage *img)
{
- EomImagePrivate *priv;
gpointer data = NULL;
g_return_val_if_fail (EOM_IS_IMAGE (img), NULL);
+#ifdef HAVE_EXEMPI
+ EomImagePrivate *priv;
priv = img->priv;
-#ifdef HAVE_EXEMPI
g_mutex_lock (&priv->status_mutex);
data = (gpointer) xmp_copy (priv->xmp);
g_mutex_unlock (&priv->status_mutex);