From 489212b0f9980d88f638251b436bb934d2505a73 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Tue, 3 Jun 2008 18:31:47 +0000 Subject: Do not do single includes for GTK+, bug #536090 svn path=/trunk/; revision=8265 --- src/ephy-action-helper.h | 2 +- src/ephy-completion-model.h | 2 +- src/ephy-encoding-dialog.c | 7 +------ src/ephy-encoding-menu.c | 5 +---- src/ephy-find-toolbar.c | 11 ----------- src/ephy-find-toolbar.h | 2 +- src/ephy-fullscreen-popup.c | 10 +--------- src/ephy-fullscreen-popup.h | 2 +- src/ephy-go-action.c | 3 +-- src/ephy-history-window.c | 22 +--------------------- src/ephy-history-window.h | 2 +- src/ephy-home-action.c | 3 +-- src/ephy-link-action.c | 5 +---- src/ephy-link-action.h | 3 +-- src/ephy-location-action.c | 8 +------- src/ephy-lockdown.c | 3 +-- src/ephy-main.c | 4 +--- src/ephy-navigation-action.c | 10 +--------- src/ephy-notebook.c | 10 +--------- src/ephy-notebook.h | 2 +- src/ephy-session.c | 10 +--------- src/ephy-session.h | 2 +- src/ephy-shell.c | 2 +- src/ephy-statusbar.c | 8 +------- src/ephy-statusbar.h | 2 +- src/ephy-tabs-menu.c | 8 +------- src/ephy-toolbar-editor.c | 10 +--------- src/ephy-toolbar-editor.h | 2 +- src/ephy-toolbar.c | 7 +------ src/ephy-window.c | 6 ------ src/ephy-window.h | 2 +- src/pdm-dialog.c | 16 +--------------- src/popup-commands.c | 3 +-- src/popup-commands.h | 2 +- src/ppview-toolbar.c | 6 +----- src/ppview-toolbar.h | 2 +- src/prefs-dialog.c | 19 +------------------ src/window-commands.c | 7 +------ src/window-commands.h | 2 +- 39 files changed, 37 insertions(+), 195 deletions(-) diff --git a/src/ephy-action-helper.h b/src/ephy-action-helper.h index 04c671f51..44f4c4023 100644 --- a/src/ephy-action-helper.h +++ b/src/ephy-action-helper.h @@ -25,7 +25,7 @@ #ifndef EPHY_ACTION_HELPER_H #define EPHY_ACTION_HELPER_H -#include +#include G_BEGIN_DECLS diff --git a/src/ephy-completion-model.h b/src/ephy-completion-model.h index 4e70ccef8..d3ea816ab 100644 --- a/src/ephy-completion-model.h +++ b/src/ephy-completion-model.h @@ -25,7 +25,7 @@ #ifndef EPHY_COMPLETION_MODEL_H #define EPHY_COMPLETION_MODEL_H -#include +#include G_BEGIN_DECLS diff --git a/src/ephy-encoding-dialog.c b/src/ephy-encoding-dialog.c index 98cedcd1c..bf029dd6b 100644 --- a/src/ephy-encoding-dialog.c +++ b/src/ephy-encoding-dialog.c @@ -34,12 +34,7 @@ #include "ephy-debug.h" #include "ephy-gui.h" -#include -#include -#include -#include -#include -#include +#include #include #include diff --git a/src/ephy-encoding-menu.c b/src/ephy-encoding-menu.c index 59ba9ee32..d767c45d0 100644 --- a/src/ephy-encoding-menu.c +++ b/src/ephy-encoding-menu.c @@ -32,10 +32,7 @@ #include "ephy-shell.h" #include "ephy-debug.h" -#include -#include -#include -#include +#include #include #include diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c index a6b59ff31..d2dd68fb4 100644 --- a/src/ephy-find-toolbar.c +++ b/src/ephy-find-toolbar.c @@ -29,17 +29,6 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include #define EPHY_FIND_TOOLBAR_GET_PRIVATE(object) (G_TYPE_INSTANCE_GET_PRIVATE ((object),EPHY_TYPE_FIND_TOOLBAR, EphyFindToolbarPrivate)) diff --git a/src/ephy-find-toolbar.h b/src/ephy-find-toolbar.h index cad71a9f4..181f23378 100644 --- a/src/ephy-find-toolbar.h +++ b/src/ephy-find-toolbar.h @@ -26,7 +26,7 @@ #ifndef EPHY_FIND_TOOLBAR_H #define EPHY_FIND_TOOLBAR_H -#include +#include #include "ephy-window.h" diff --git a/src/ephy-fullscreen-popup.c b/src/ephy-fullscreen-popup.c index 90018c205..58766865e 100644 --- a/src/ephy-fullscreen-popup.c +++ b/src/ephy-fullscreen-popup.c @@ -26,15 +26,7 @@ #include "ephy-debug.h" #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #define EPHY_FULLSCREEN_POPUP_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_FULLSCREEN_POPUP, EphyFullscreenPopupPrivate)) diff --git a/src/ephy-fullscreen-popup.h b/src/ephy-fullscreen-popup.h index e7f6929f4..95fd3d775 100644 --- a/src/ephy-fullscreen-popup.h +++ b/src/ephy-fullscreen-popup.h @@ -26,7 +26,7 @@ #ifndef EPHY_FULLSCREEN_POPUP_H #define EPHY_FULLSCREEN_POPUP_H -#include +#include #include "ephy-window.h" G_BEGIN_DECLS diff --git a/src/ephy-go-action.c b/src/ephy-go-action.c index d67ad962d..64ca21e8a 100644 --- a/src/ephy-go-action.c +++ b/src/ephy-go-action.c @@ -25,8 +25,7 @@ #include "ephy-debug.h" #include -#include -#include +#include static void ephy_go_action_class_init (EphyGoActionClass *class); diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index 9cbe36621..46ed4cd9f 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -21,27 +21,7 @@ #include "config.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include #include diff --git a/src/ephy-history-window.h b/src/ephy-history-window.h index e72ab0649..2839e05c2 100644 --- a/src/ephy-history-window.h +++ b/src/ephy-history-window.h @@ -25,7 +25,7 @@ #ifndef EPHY_HISTORY_WINDOW_H #define EPHY_HISTORY_WINDOW_H -#include +#include #include "ephy-node-view.h" #include "ephy-history.h" diff --git a/src/ephy-home-action.c b/src/ephy-home-action.c index 72b73292e..1b912bcbb 100644 --- a/src/ephy-home-action.c +++ b/src/ephy-home-action.c @@ -29,8 +29,7 @@ #include -#include -#include +#include #define INSANE_NUMBER_OF_URLS 20 diff --git a/src/ephy-link-action.c b/src/ephy-link-action.c index 8ac930759..f5d9fe7e9 100644 --- a/src/ephy-link-action.c +++ b/src/ephy-link-action.c @@ -27,10 +27,7 @@ #include "ephy-debug.h" #include "ephy-gui.h" -#include -#include -#include -#include +#include G_DEFINE_TYPE_WITH_CODE (EphyLinkAction, ephy_link_action, GTK_TYPE_ACTION, G_IMPLEMENT_INTERFACE (EPHY_TYPE_LINK, diff --git a/src/ephy-link-action.h b/src/ephy-link-action.h index 9e55fc0fb..16d444dbe 100644 --- a/src/ephy-link-action.h +++ b/src/ephy-link-action.h @@ -25,8 +25,7 @@ #ifndef EPHY_LINK_ACTION_H #define EPHY_LINK_ACTION_H -#include -#include +#include G_BEGIN_DECLS diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c index 420e7c36a..2f9c8b2cb 100644 --- a/src/ephy-location-action.c +++ b/src/ephy-location-action.c @@ -32,13 +32,7 @@ #include "ephy-debug.h" #include -#include -#include -#include -#include -#include -#include - +#include #include #define EPHY_LOCATION_ACTION_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_LOCATION_ACTION, EphyLocationActionPrivate)) diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c index ba09a6dc0..62f840b20 100644 --- a/src/ephy-lockdown.c +++ b/src/ephy-lockdown.c @@ -31,8 +31,7 @@ #include "eel-gconf-extensions.h" #include "ephy-debug.h" -#include -#include +#include #include diff --git a/src/ephy-main.c b/src/ephy-main.c index c257895bd..1ab880bb3 100644 --- a/src/ephy-main.c +++ b/src/ephy-main.c @@ -40,9 +40,7 @@ #include #include -#include -#include -#include +#include #include #include diff --git a/src/ephy-navigation-action.c b/src/ephy-navigation-action.c index 64cecb870..e76ac9e2e 100644 --- a/src/ephy-navigation-action.c +++ b/src/ephy-navigation-action.c @@ -34,15 +34,7 @@ #include "ephy-gui.h" #include "ephy-debug.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #define HISTORY_ITEM_DATA_KEY "HistoryItem" #define URL_DATA_KEY "GoURL" diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index b01062981..091c83ff9 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -36,15 +36,7 @@ #include "ephy-debug.h" #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #define TAB_WIDTH_N_CHARS 15 diff --git a/src/ephy-notebook.h b/src/ephy-notebook.h index ad41966fe..0de819bc0 100644 --- a/src/ephy-notebook.h +++ b/src/ephy-notebook.h @@ -28,7 +28,7 @@ #define EPHY_NOTEBOOK_H #include -#include +#include #include "ephy-embed.h" diff --git a/src/ephy-session.c b/src/ephy-session.c index cf7d24abc..1a3ffa2e8 100644 --- a/src/ephy-session.c +++ b/src/ephy-session.c @@ -41,15 +41,7 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include diff --git a/src/ephy-session.h b/src/ephy-session.h index c3b325a17..371f65002 100644 --- a/src/ephy-session.h +++ b/src/ephy-session.h @@ -31,7 +31,7 @@ #include "ephy-window.h" -#include +#include G_BEGIN_DECLS diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 27687f515..371cdeabd 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -23,7 +23,7 @@ #include #include -#include +#include #include #include diff --git a/src/ephy-statusbar.c b/src/ephy-statusbar.c index 6f532f638..a052b628b 100644 --- a/src/ephy-statusbar.c +++ b/src/ephy-statusbar.c @@ -27,13 +27,7 @@ #include #include -#include -#include -#include -#include -#include -#include -#include +#include static void ephy_statusbar_class_init (EphyStatusbarClass *klass); static void ephy_statusbar_init (EphyStatusbar *t); diff --git a/src/ephy-statusbar.h b/src/ephy-statusbar.h index 928c619e5..3e064b786 100644 --- a/src/ephy-statusbar.h +++ b/src/ephy-statusbar.h @@ -27,7 +27,7 @@ #ifndef EPHY_STATUSBAR_H #define EPHY_STATUSBAR_H -#include +#include G_BEGIN_DECLS diff --git a/src/ephy-tabs-menu.c b/src/ephy-tabs-menu.c index 66e555a94..ba11bac87 100644 --- a/src/ephy-tabs-menu.c +++ b/src/ephy-tabs-menu.c @@ -31,13 +31,7 @@ #include "ephy-embed-utils.h" #include -#include -#include -#include -#include -#include -#include -#include +#include #include #include diff --git a/src/ephy-toolbar-editor.c b/src/ephy-toolbar-editor.c index 043aa3e53..3efa14ea2 100644 --- a/src/ephy-toolbar-editor.c +++ b/src/ephy-toolbar-editor.c @@ -36,15 +36,7 @@ #include "ephy-debug.h" #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #define DATA_KEY "EphyToolbarEditor" diff --git a/src/ephy-toolbar-editor.h b/src/ephy-toolbar-editor.h index 0c9cebc6d..cf8430265 100644 --- a/src/ephy-toolbar-editor.h +++ b/src/ephy-toolbar-editor.h @@ -26,7 +26,7 @@ #ifndef EPHY_TOOLBAR_EDITOR_H #define EPHY_TOOLBAR_EDITOR_H -#include +#include #include "ephy-window.h" G_BEGIN_DECLS diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c index 530ddf884..33bfe6281 100644 --- a/src/ephy-toolbar.c +++ b/src/ephy-toolbar.c @@ -40,12 +40,7 @@ #include "ephy-debug.h" #include -#include -#include -#include -#include -#include -#include +#include #include enum diff --git a/src/ephy-window.c b/src/ephy-window.c index 5be333f7d..45a3ee7d5 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -65,12 +65,6 @@ #include #include #include -#include -#include -#include -#include -#include -#include #ifdef HAVE_X11_XF86KEYSYM_H #include diff --git a/src/ephy-window.h b/src/ephy-window.h index 99653913d..642a12f9e 100644 --- a/src/ephy-window.h +++ b/src/ephy-window.h @@ -29,7 +29,7 @@ #include #include -#include +#include G_BEGIN_DECLS diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c index a1ce8bf23..a1186c35b 100644 --- a/src/pdm-dialog.c +++ b/src/pdm-dialog.c @@ -37,21 +37,7 @@ #include "ephy-favicon-cache.h" #include "ephy-history.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include diff --git a/src/popup-commands.c b/src/popup-commands.c index dbd9baf10..58c6c3a61 100644 --- a/src/popup-commands.c +++ b/src/popup-commands.c @@ -33,8 +33,7 @@ #include #include -#include -#include +#include void popup_cmd_link_in_new_window (GtkAction *action, diff --git a/src/popup-commands.h b/src/popup-commands.h index c770692bd..9301f4798 100644 --- a/src/popup-commands.h +++ b/src/popup-commands.h @@ -18,7 +18,7 @@ * $Id$ */ -#include +#include #include "ephy-window.h" diff --git a/src/ppview-toolbar.c b/src/ppview-toolbar.c index f501946c3..4de13beb9 100644 --- a/src/ppview-toolbar.c +++ b/src/ppview-toolbar.c @@ -27,11 +27,7 @@ #include #include -#include -#include -#include -#include -#include +#include static void ppview_toolbar_class_init (PPViewToolbarClass *klass); static void ppview_toolbar_init (PPViewToolbar *t); diff --git a/src/ppview-toolbar.h b/src/ppview-toolbar.h index 18ca91ac2..44ad58840 100644 --- a/src/ppview-toolbar.h +++ b/src/ppview-toolbar.h @@ -24,7 +24,7 @@ #include "ephy-window.h" #include #include -#include +#include G_BEGIN_DECLS diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index 6a805aa45..c3221e983 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -44,24 +44,7 @@ #include "pdm-dialog.h" #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #define DOWNLOAD_BUTTON_WIDTH 8 diff --git a/src/window-commands.c b/src/window-commands.c index ec5bfe50c..e2f31f00f 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -56,12 +56,7 @@ #include #include #include -#include -#include -#include -#include -#include -#include +#include #include static void diff --git a/src/window-commands.h b/src/window-commands.h index 3f193d005..5a70b2fef 100644 --- a/src/window-commands.h +++ b/src/window-commands.h @@ -18,7 +18,7 @@ * $Id$ */ -#include +#include #include "ephy-window.h" -- cgit