[goffice] Compilation: include cleanup.



commit 8239764a8fa31d0562b46b5086332de0ae4d6f94
Author: Morten Welinder <terra gnome org>
Date:   Fri Feb 22 21:32:43 2013 -0500

    Compilation: include cleanup.

 goffice/app/file.h              |    1 -
 goffice/app/go-doc.h            |    1 -
 goffice/app/go-plugin-service.h |    1 -
 goffice/goffice.h               |   11 +++--------
 goffice/graph/gog-graph.h       |    3 ---
 goffice/graph/gog-renderer.c    |   10 ----------
 goffice/graph/gog-renderer.h    |    2 --
 goffice/utils/go-file.h         |    1 -
 8 files changed, 3 insertions(+), 27 deletions(-)
---
diff --git a/goffice/app/file.h b/goffice/app/file.h
index 8ee1340..bc26977 100644
--- a/goffice/app/file.h
+++ b/goffice/app/file.h
@@ -2,7 +2,6 @@
 #define _GOFFICE_FILE_H_
 
 #include <glib-object.h>
-#include <gsf/gsf.h>
 #include <goffice/app/goffice-app.h>
 
 G_BEGIN_DECLS
diff --git a/goffice/app/go-doc.h b/goffice/app/go-doc.h
index 4410227..4d6a0db 100644
--- a/goffice/app/go-doc.h
+++ b/goffice/app/go-doc.h
@@ -22,7 +22,6 @@
 #define GO_DOC_H
 
 #include <goffice/goffice.h>
-#include <gsf/gsf.h>
 
 G_BEGIN_DECLS
 
diff --git a/goffice/app/go-plugin-service.h b/goffice/app/go-plugin-service.h
index 23c8864..9108ffb 100644
--- a/goffice/app/go-plugin-service.h
+++ b/goffice/app/go-plugin-service.h
@@ -6,7 +6,6 @@
 #include <glib.h>
 #include <gmodule.h>
 #include <libxml/tree.h>
-#include <gsf/gsf.h>
 
 G_BEGIN_DECLS
 
diff --git a/goffice/goffice.h b/goffice/goffice.h
index bf15e1a..852c473 100644
--- a/goffice/goffice.h
+++ b/goffice/goffice.h
@@ -22,14 +22,15 @@
 #define GOFFICE_H
 
 #include <glib.h>
+#include <glib-object.h>
+#include <gsf/gsf.h>
 #include <goffice/goffice-features.h>
 
 #ifdef GOFFICE_WITH_GTK
 #include <gtk/gtk.h>
-#else
+#endif
 #include <cairo/cairo.h>
 #include <pango/pango.h>
-#endif
 
 #ifndef GO_VAR_DECL
 #  ifdef WIN32
@@ -43,12 +44,6 @@
 #  endif
 #endif /* GO_VAR_DECL */
 
-
-#include <glib-object.h>
-#ifdef GOFFICE_WITH_GTK
-#include <gtk/gtk.h>
-#endif
-
 #if GLIB_CHECK_VERSION(2,32,0)
 #define GOFFICE_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f)
 #else
diff --git a/goffice/graph/gog-graph.h b/goffice/graph/gog-graph.h
index a4ba6c2..af72488 100644
--- a/goffice/graph/gog-graph.h
+++ b/goffice/graph/gog-graph.h
@@ -23,9 +23,6 @@
 
 #include <goffice/goffice.h>
 
-#include <gsf/gsf.h>
-#include <cairo.h>
-
 G_BEGIN_DECLS
 
 #define GOG_TYPE_GRAPH (gog_graph_get_type ())
diff --git a/goffice/graph/gog-renderer.c b/goffice/graph/gog-renderer.c
index 80de568..93eba10 100644
--- a/goffice/graph/gog-renderer.c
+++ b/goffice/graph/gog-renderer.c
@@ -20,18 +20,8 @@
  */
 #include <goffice/goffice-config.h>
 #include <goffice/goffice-debug.h>
-#include <goffice/graph/gog-graph.h>
-#include <goffice/graph/gog-graph-impl.h>
-#include <goffice/graph/gog-view.h>
 #include <goffice/graph/gog-renderer.h>
-#include <goffice/math/go-math.h>
-#include <goffice/utils/go-units.h>
-#include <goffice/utils/go-cairo.h>
-#include <goffice/utils/go-color.h>
-#include <goffice/utils/go-font.h>
-#include <goffice/utils/go-marker.h>
-
-#include <gsf/gsf.h>
+
 #include <gsf/gsf-impl-utils.h>
 #include <gsf/gsf-output-stdio.h>
 
diff --git a/goffice/graph/gog-renderer.h b/goffice/graph/gog-renderer.h
index 625933f..0b68e29 100644
--- a/goffice/graph/gog-renderer.h
+++ b/goffice/graph/gog-renderer.h
@@ -22,8 +22,6 @@
 #define GOG_RENDERER_H
 
 #include <goffice/goffice.h>
-
-#include <gsf/gsf.h>
 #include <gdk-pixbuf/gdk-pixbuf.h>
 
 #ifdef GOFFICE_WITH_LASEM
diff --git a/goffice/utils/go-file.h b/goffice/utils/go-file.h
index 25ffe09..a8dc3a3 100644
--- a/goffice/utils/go-file.h
+++ b/goffice/utils/go-file.h
@@ -22,7 +22,6 @@
 #define GO_FILE_H
 
 #include <goffice/goffice.h>
-#include <gsf/gsf.h>
 #include <time.h>
 
 G_BEGIN_DECLS


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