[eog] Really fix build without libexif
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] Really fix build without libexif
- Date: Tue, 21 Dec 2010 17:35:31 +0000 (UTC)
commit aa1ceac427d99e70bc2747b4503f6307f4f841e3
Author: Felix Riemann <friemann gnome org>
Date: Tue Dec 21 18:33:06 2010 +0100
Really fix build without libexif
Add changes forgotten in commit ebb9e525. Fixes bug 637648.
src/eog-image.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/eog-image.c b/src/eog-image.c
index 78b78a2..7299878 100644
--- a/src/eog-image.c
+++ b/src/eog-image.c
@@ -52,6 +52,7 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#ifdef HAVE_EXIF
+#include "eog-exif-util.h"
#include <libexif/exif-data.h>
#include <libexif/exif-utils.h>
#include <libexif/exif-loader.h>
@@ -1887,6 +1888,7 @@ eog_image_cancel_load (EogImage *img)
g_mutex_unlock (priv->status_mutex);
}
+#ifdef HAVE_EXIF
EogExifData *
eog_image_get_exif_info (EogImage *img)
{
@@ -1897,18 +1899,16 @@ eog_image_get_exif_info (EogImage *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
eog_image_get_xmp_info (EogImage *img)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]