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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eom-image.c b/src/eom-image.c
index 26df136..d723abd 100644
--- a/src/eom-image.c
+++ b/src/eom-image.c
@@ -52,6 +52,7 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#ifdef HAVE_EXIF
+#include "eom-exif-util.h"
#include <libexif/exif-data.h>
#include <libexif/exif-utils.h>
#include <libexif/exif-loader.h>
@@ -1884,6 +1885,7 @@ eom_image_cancel_load (EomImage *img)
g_mutex_unlock (&priv->status_mutex);
}
+#ifdef HAVE_EXIF
EomExifData *
eom_image_get_exif_info (EomImage *img)
{
@@ -1894,18 +1896,16 @@ eom_image_get_exif_info (EomImage *img)
priv = img->priv;
-#ifdef HAVE_EXIF
g_mutex_lock (&priv->status_mutex);
exif_data_ref (priv->exif);
data = priv->exif;
g_mutex_unlock (&priv->status_mutex);
-#endif
return data;
}
-
+#endif
gpointer
eom_image_get_xmp_info (EomImage *img)