From 86302e2a81681eb353f686c51b419015b6e03bd8 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Tue, 3 Jun 2008 18:32:01 +0000 Subject: Do not do single includes in lib/, bug #536090 svn path=/trunk/; revision=8267 --- lib/ephy-debug.c | 2 +- lib/ephy-dialog.c | 11 ++--------- lib/ephy-dialog.h | 2 +- lib/ephy-dnd.c | 3 +-- lib/ephy-dnd.h | 3 +-- lib/ephy-file-chooser.c | 3 +-- lib/ephy-file-chooser.h | 4 +--- lib/ephy-file-helpers.c | 2 +- lib/ephy-file-helpers.h | 2 +- lib/ephy-gui.c | 13 ++----------- lib/ephy-gui.h | 6 +----- lib/ephy-password-dialog.h | 2 +- lib/ephy-print-utils.c | 2 +- lib/ephy-print-utils.h | 3 +-- lib/ephy-state.c | 5 +---- lib/ephy-state.h | 2 +- 16 files changed, 18 insertions(+), 47 deletions(-) (limited to 'lib') diff --git a/lib/ephy-debug.c b/lib/ephy-debug.c index 42f704b6f..46b13f395 100644 --- a/lib/ephy-debug.c +++ b/lib/ephy-debug.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include static const char *ephy_debug_break = NULL; diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c index a94a312fc..07ada45d5 100644 --- a/lib/ephy-dialog.c +++ b/lib/ephy-dialog.c @@ -29,15 +29,8 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include enum { diff --git a/lib/ephy-dialog.h b/lib/ephy-dialog.h index 8abc6bb33..e97439a83 100644 --- a/lib/ephy-dialog.h +++ b/lib/ephy-dialog.h @@ -28,7 +28,7 @@ #include #include -#include +#include G_BEGIN_DECLS diff --git a/lib/ephy-dnd.c b/lib/ephy-dnd.c index 47d3937cf..5b2ad446c 100644 --- a/lib/ephy-dnd.c +++ b/lib/ephy-dnd.c @@ -23,8 +23,7 @@ #include "ephy-dnd.h" #include "ephy-node.h" -#include -#include +#include #include /* Encode a "_NETSCAPE_URL_" selection. diff --git a/lib/ephy-dnd.h b/lib/ephy-dnd.h index 62e79823e..f97ecce25 100644 --- a/lib/ephy-dnd.h +++ b/lib/ephy-dnd.h @@ -26,8 +26,7 @@ #define EPHY_DND_H #include -#include -#include +#include G_BEGIN_DECLS diff --git a/lib/ephy-file-chooser.c b/lib/ephy-file-chooser.c index 9b3fa7d38..6f6e8cf31 100644 --- a/lib/ephy-file-chooser.c +++ b/lib/ephy-file-chooser.c @@ -30,8 +30,7 @@ #include "ephy-stock-icons.h" #include "ephy-string.h" -#include -#include +#include #include #define EPHY_FILE_CHOOSER_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_FILE_CHOOSER, EphyFileChooserPrivate)) diff --git a/lib/ephy-file-chooser.h b/lib/ephy-file-chooser.h index e50f0817b..ea013ff5a 100644 --- a/lib/ephy-file-chooser.h +++ b/lib/ephy-file-chooser.h @@ -27,9 +27,7 @@ #include -#include -#include -#include +#include G_BEGIN_DECLS diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c index a2853fb7d..ad7f65c39 100644 --- a/lib/ephy-file-helpers.c +++ b/lib/ephy-file-helpers.c @@ -43,7 +43,7 @@ #include #include -#include +#include #include #include diff --git a/lib/ephy-file-helpers.h b/lib/ephy-file-helpers.h index 362d232c2..ae9a880b1 100644 --- a/lib/ephy-file-helpers.h +++ b/lib/ephy-file-helpers.h @@ -29,7 +29,7 @@ #include #include -#include +#include extern GQuark ephy_file_helpers_error_quark; #define EPHY_FILE_HELPERS_ERROR_QUARK (ephy_file_helpers_error_quark) diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c index 2ef1941da..0e63c7d99 100644 --- a/lib/ephy-gui.c +++ b/lib/ephy-gui.c @@ -28,18 +28,9 @@ #include #include #include -#include +#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include diff --git a/lib/ephy-gui.h b/lib/ephy-gui.h index cd33d1cd6..c733ef4b8 100644 --- a/lib/ephy-gui.h +++ b/lib/ephy-gui.h @@ -27,11 +27,7 @@ #include #include -#include -#include -#include -#include -#include +#include G_BEGIN_DECLS diff --git a/lib/ephy-password-dialog.h b/lib/ephy-password-dialog.h index c69778d07..62788769c 100644 --- a/lib/ephy-password-dialog.h +++ b/lib/ephy-password-dialog.h @@ -25,7 +25,7 @@ #ifndef EPHY_PASSWORD_DIALOG_H #define EPHY_PASSWORD_DIALOG_H -#include +#include #include G_BEGIN_DECLS diff --git a/lib/ephy-print-utils.c b/lib/ephy-print-utils.c index 1376604c0..3e61bb404 100644 --- a/lib/ephy-print-utils.c +++ b/lib/ephy-print-utils.c @@ -23,7 +23,7 @@ #include #include -#include +#include #include "ephy-debug.h" #include "ephy-string.h" diff --git a/lib/ephy-print-utils.h b/lib/ephy-print-utils.h index 2e21268f1..1f8aef856 100644 --- a/lib/ephy-print-utils.h +++ b/lib/ephy-print-utils.h @@ -26,8 +26,7 @@ #define EPHY_PRINT_UTILS_H #include -#include -#include +#include G_BEGIN_DECLS diff --git a/lib/ephy-state.c b/lib/ephy-state.c index 2f0b2f8e5..ba9eee4b3 100644 --- a/lib/ephy-state.c +++ b/lib/ephy-state.c @@ -30,10 +30,7 @@ #include "ephy-node-common.h" #include -#include -#include -#include -#include +#include #define EPHY_STATES_XML_FILE "states.xml" #define EPHY_STATES_XML_ROOT (const xmlChar *)"ephy_states" diff --git a/lib/ephy-state.h b/lib/ephy-state.h index 26155ad9a..8438b362e 100644 --- a/lib/ephy-state.h +++ b/lib/ephy-state.h @@ -27,7 +27,7 @@ #ifndef EPHY_STATE_H #define EPHY_STATE_H -#include "gtk/gtkwidget.h" +#include G_BEGIN_DECLS -- cgit