summaryrefslogtreecommitdiff
path: root/src/eom-image.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-25 23:49:39 +0200
committerinfirit <[email protected]>2014-07-26 12:17:20 +0200
commite00d7e1f2b24ccc0c58b01bc08cb0eb25262fd70 (patch)
tree6eb0ad59282c329898187e52038ed58e8666ea50 /src/eom-image.c
parenta6cf3eab819fe90142bfeb719d794f7c6db89feb (diff)
downloadeom-e00d7e1f2b24ccc0c58b01bc08cb0eb25262fd70.tar.bz2
eom-e00d7e1f2b24ccc0c58b01bc08cb0eb25262fd70.tar.xz
Fix build without libexif
Based on eog commits: ebb9e525a84fb169c79908ff646288550f7e480a aa1ceac427d99e70bc2747b4503f6307f4f841e3 From Felix Riemann <[email protected]>
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)