[eog] EogImage: Move Exempi include into files actually needing it.



commit 3f6c55deb3643e26c44a4a3a0f9825ff932b2871
Author: Felix Riemann <friemann gnome org>
Date:   Sun Jul 28 19:32:40 2013 +0200

    EogImage: Move Exempi include into files actually needing it.
    
    The main eog-image include file doesn't have any dependency on
    the Exempi includes. Move it into files that actually use something
    from the package.

 src/eog-image-private.h |    5 +++++
 src/eog-image.c         |    4 ++++
 src/eog-image.h         |    4 ----
 3 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/src/eog-image-private.h b/src/eog-image-private.h
index 3af4e90..b03021d 100644
--- a/src/eog-image-private.h
+++ b/src/eog-image-private.h
@@ -23,10 +23,15 @@
 #define __EOG_IMAGE_PRIVATE_H__
 
 #include "eog-image.h"
+
 #ifdef HAVE_RSVG
 #include <librsvg/rsvg.h>
 #endif
 
+#ifdef HAVE_EXEMPI
+#include <exempi/xmp.h>
+#endif
+
 G_BEGIN_DECLS
 
 struct _EogImagePrivate {
diff --git a/src/eog-image.c b/src/eog-image.c
index d372369..d3ddeda 100644
--- a/src/eog-image.c
+++ b/src/eog-image.c
@@ -58,6 +58,10 @@
 #include <libexif/exif-loader.h>
 #endif
 
+#ifdef HAVE_EXEMPI
+#include <exempi/xmp.h>
+#endif
+
 #ifdef HAVE_LCMS
 #include <lcms2.h>
 #ifndef EXIF_TAG_GAMMA
diff --git a/src/eog-image.h b/src/eog-image.h
index abefebe..df63423 100644
--- a/src/eog-image.h
+++ b/src/eog-image.h
@@ -41,10 +41,6 @@
 #include <lcms2.h>
 #endif
 
-#ifdef HAVE_EXEMPI
-#include <exempi/xmp.h>
-#endif
-
 #ifdef HAVE_RSVG
 #include <librsvg/rsvg.h>
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]