[gnumeric] Headers: #include cleanup.



commit e09b392a4de03a6405fd5a55b8ded113d00788b1
Author: Morten Welinder <terra gnome org>
Date:   Sun May 22 14:26:30 2011 -0400

    Headers: #include cleanup.

 src/application.h   |    1 -
 src/cell-draw.h     |    1 -
 src/gnm-pane.h      |    1 -
 src/gnm-plugin.h    |    1 -
 src/gui-clipboard.c |    1 +
 src/gui-util.h      |    5 +----
 src/print.c         |    1 +
 src/stf.c           |    1 +
 src/wbc-gtk-edit.c  |    2 ++
 9 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/src/application.h b/src/application.h
index be30951..04538a1 100644
--- a/src/application.h
+++ b/src/application.h
@@ -4,7 +4,6 @@
 
 #include "gnumeric.h"
 #include <glib-object.h>
-#include <gdk-pixbuf/gdk-pixbuf.h>
 
 G_BEGIN_DECLS
 
diff --git a/src/cell-draw.h b/src/cell-draw.h
index fbaa5c6..9c9c0ac 100644
--- a/src/cell-draw.h
+++ b/src/cell-draw.h
@@ -3,7 +3,6 @@
 # define _GNM_CELL_DRAW_H_
 
 #include "gnumeric.h"
-#include <gdk/gdk.h>
 
 G_BEGIN_DECLS
 
diff --git a/src/gnm-pane.h b/src/gnm-pane.h
index 41ddc4e..9fd7987 100644
--- a/src/gnm-pane.h
+++ b/src/gnm-pane.h
@@ -4,7 +4,6 @@
 
 #include "gui-gnumeric.h"
 #include <goffice/goffice.h>
-#include "gui-util.h"
 
 G_BEGIN_DECLS
 
diff --git a/src/gnm-plugin.h b/src/gnm-plugin.h
index 3513567..06dc054 100644
--- a/src/gnm-plugin.h
+++ b/src/gnm-plugin.h
@@ -7,7 +7,6 @@
 #include <goffice/app/module-plugin-defs.h>
 #include <tools/gnm-solver.h>
 #include <gmodule.h>
-#include <libxml/tree.h>
 #include <gsf/gsf.h>
 
 G_BEGIN_DECLS
diff --git a/src/gui-clipboard.c b/src/gui-clipboard.c
index f9a00f5..bbf0593 100644
--- a/src/gui-clipboard.c
+++ b/src/gui-clipboard.c
@@ -34,6 +34,7 @@
 #include "gnm-format.h"
 #include "gnumeric-gconf.h"
 #include "xml-sax.h"
+#include "gutils.h"
 
 #include <goffice/goffice.h>
 #include <gsf/gsf-input-memory.h>
diff --git a/src/gui-util.h b/src/gui-util.h
index 39ec9ef..6caf5c0 100644
--- a/src/gui-util.h
+++ b/src/gui-util.h
@@ -3,9 +3,6 @@
 # define _GNM_GUI_UTIL_H_
 
 #include "gui-gnumeric.h"
-#include "command-context.h"
-#include "gutils.h"
-
 #include <goffice/goffice.h>
 #include "numbers.h"
 #include <gtk/gtk.h>
@@ -18,7 +15,7 @@ G_BEGIN_DECLS
 GtkWidget* gnumeric_go_error_info_dialog_new (GOErrorInfo *error);
 GtkWidget* gnumeric_go_error_info_list_dialog_new (GSList *errs);
 void       gnumeric_go_error_info_dialog_show (GtkWindow *parent,
-                                            GOErrorInfo *error);
+					       GOErrorInfo *error);
 void       gnumeric_go_error_info_list_dialog_show (GtkWindow *parent,
 						    GSList *errs);
 void       gnumeric_restore_window_geometry (GtkWindow *dialog,
diff --git a/src/print.c b/src/print.c
index aebff51..0063afd 100644
--- a/src/print.c
+++ b/src/print.c
@@ -20,6 +20,7 @@
 #include "print.h"
 
 #include "gui-util.h"
+#include "gutils.h"
 #include "sheet-object.h"
 #include "sheet-object-impl.h"
 #include "selection.h"
diff --git a/src/stf.c b/src/stf.c
index a88277b..74752a5 100644
--- a/src/stf.c
+++ b/src/stf.c
@@ -49,6 +49,7 @@
 #include "parse-util.h"
 #include "commands.h"
 #include "gui-util.h"
+#include "gutils.h"
 
 #include <gsf/gsf-input.h>
 #include <string.h>
diff --git a/src/wbc-gtk-edit.c b/src/wbc-gtk-edit.c
index 370f5da..0120bff 100644
--- a/src/wbc-gtk-edit.c
+++ b/src/wbc-gtk-edit.c
@@ -49,6 +49,8 @@
 #include "validation.h"
 #include "value.h"
 #include "widgets/gnumeric-expr-entry.h"
+#include "gui-util.h"
+#include "command-context.h"
 
 #include <goffice/goffice.h>
 #include <gtk/gtk.h>



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