summaryrefslogtreecommitdiff
path: root/src/eom-image.c
diff options
context:
space:
mode:
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);