diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/eom-image.c | 6 | ||||
-rw-r--r-- | src/eom-image.h | 4 |
2 files changed, 6 insertions, 4 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) diff --git a/src/eom-image.h b/src/eom-image.h index f88623c..447c37d 100644 --- a/src/eom-image.h +++ b/src/eom-image.h @@ -27,7 +27,6 @@ #include "eom-transform.h" #include "eom-image-save-info.h" #include "eom-enums.h" -#include "eom-exif-util.h" #include <glib.h> #include <glib-object.h> @@ -35,6 +34,7 @@ #ifdef HAVE_EXIF #include <libexif/exif-data.h> +#include "eom-exif-util.h" #endif #ifdef HAVE_LCMS @@ -169,7 +169,9 @@ const gchar* eom_image_get_caption (EomImage *img); const gchar *eom_image_get_collate_key (EomImage *img); +#if HAVE_EXIF EomExifData* eom_image_get_exif_info (EomImage *img); +#endif gpointer eom_image_get_xmp_info (EomImage *img); |