From 3bb95a09bb7453d9550400feab3324afe9b98a96 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 9 Feb 2018 00:42:38 +0100 Subject: [PATCH] a11y: Remove gtk.h include from container accessible --- gtk/a11y/gtkcontaineraccessible.h | 2 +- gtk/gtkassistant.c | 15 +++---- gtk/gtkbutton.c | 21 +++++----- gtk/gtkbuttonprivate.h | 2 + gtk/gtkcombobox.c | 28 ++++++------- gtk/gtkcontainer.c | 41 ++++++++++--------- gtk/gtkexpander.c | 21 +++++----- gtk/gtkheaderbar.c | 16 ++++++-- gtk/gtkheaderbarprivate.h | 2 + gtk/gtklinkbutton.c | 16 ++++---- gtk/gtkmenushell.c | 18 ++++----- gtk/gtknotebook.c | 53 ++++++++++++++----------- gtk/gtkpaned.c | 27 +++++++------ gtk/gtkpopover.c | 48 +++++++++++----------- gtk/gtkscalebutton.c | 22 ++++++----- gtk/gtkscrolledwindow.c | 17 ++++++-- gtk/gtktreeview.c | 66 ++++++++++++++++--------------- gtk/gtktreeviewcolumn.c | 26 ++++++------ gtk/gtkwindow.c | 62 ++++++++++++++++------------- 19 files changed, 279 insertions(+), 224 deletions(-) diff --git a/gtk/a11y/gtkcontaineraccessible.h b/gtk/a11y/gtkcontaineraccessible.h index 832ecda6c9..923fab6adf 100644 --- a/gtk/a11y/gtkcontaineraccessible.h +++ b/gtk/a11y/gtkcontaineraccessible.h @@ -22,7 +22,7 @@ #error "Only can be included directly." #endif -#include +#include #include G_BEGIN_DECLS diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c index 0487a8da7e..51f7552ff4 100644 --- a/gtk/gtkassistant.c +++ b/gtk/gtkassistant.c @@ -58,23 +58,24 @@ #include "config.h" -#include - #include "gtkassistant.h" -#include "gtkbutton.h" +#include "gtkbindings.h" #include "gtkbox.h" +#include "gtkbuildable.h" +#include "gtkbutton.h" #include "gtkframe.h" -#include "gtknotebook.h" +#include "gtkheaderbar.h" +#include "gtkintl.h" #include "gtkimage.h" #include "gtklabel.h" +#include "gtknotebook.h" +#include "gtkprivate.h" #include "gtksettings.h" #include "gtksizegroup.h" #include "gtksizerequest.h" #include "gtktypebuiltins.h" -#include "gtkintl.h" -#include "gtkprivate.h" -#include "gtkbuildable.h" + #include "a11y/gtkwindowaccessible.h" diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index 0d58e66ce8..d2326db490 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -53,24 +53,27 @@ #include "config.h" -#include "gtkbutton.h" #include "gtkbuttonprivate.h" -#include +#include "gtkactionhelperprivate.h" +#include "gtkapplicationprivate.h" +#include "gtkbox.h" +#include "gtkcheckbutton.h" +#include "gtkcontainerprivate.h" +#include "gtkgesturemultipress.h" +#include "gtkimage.h" +#include "gtkintl.h" #include "gtklabel.h" #include "gtkmain.h" #include "gtkmarshalers.h" -#include "gtkimage.h" -#include "gtkbox.h" +#include "gtkprivate.h" #include "gtksizerequest.h" #include "gtktypebuiltins.h" #include "gtkwidgetprivate.h" -#include "gtkprivate.h" -#include "gtkintl.h" + #include "a11y/gtkbuttonaccessible.h" -#include "gtkapplicationprivate.h" -#include "gtkactionhelperprivate.h" -#include "gtkcontainerprivate.h" + +#include /* Time out before giving up on getting a key release when animating * the close button. diff --git a/gtk/gtkbuttonprivate.h b/gtk/gtkbuttonprivate.h index 3c7c6c8ccc..e19cc96405 100644 --- a/gtk/gtkbuttonprivate.h +++ b/gtk/gtkbuttonprivate.h @@ -19,6 +19,8 @@ #ifndef __GTK_BUTTON_PRIVATE_H__ #define __GTK_BUTTON_PRIVATE_H__ +#include "gtkbutton.h" + #include "gtkactionhelperprivate.h" #include "gtkgesturesingle.h" diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index 68776dde6c..0b18c42779 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -17,36 +17,34 @@ #include "config.h" -#include "gtkcombobox.h" +#include "gtkcomboboxprivate.h" -#include "gtkcellareabox.h" -#include "gtktreemenu.h" #include "gtkbindings.h" +#include "gtkbox.h" +#include "gtkcellareabox.h" #include "gtkcelllayout.h" #include "gtkcellrenderertext.h" #include "gtkcellview.h" +#include "gtkeventcontrollerscroll.h" #include "gtkframe.h" #include "gtkiconprivate.h" -#include "gtkbox.h" +#include "gtkintl.h" #include "gtkliststore.h" #include "gtkmain.h" +#include "gtkmarshalers.h" +#include "gtkmenuitem.h" #include "gtkmenuprivate.h" #include "gtkmenushellprivate.h" -#include "gtktogglebutton.h" -#include "gtktypebuiltins.h" #include "gtkprivate.h" -#include "gtkcomboboxprivate.h" - -#include - -#include -#include - -#include "gtkmarshalers.h" -#include "gtkintl.h" +#include "gtktogglebutton.h" +#include "gtktreemenu.h" +#include "gtktypebuiltins.h" #include "a11y/gtkcomboboxaccessible.h" +#include +#include +#include /** * SECTION:gtkcombobox diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index 0ffc27b4d6..efd715b333 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -26,30 +26,29 @@ #include "gtkcontainerprivate.h" -#include -#include -#include +#include "gtkadjustment.h" +#include "gtkassistant.h" +#include "gtkbuildable.h" +#include "gtkbuilderprivate.h" +#include "gtkintl.h" +#include "gtkpopovermenu.h" +#include "gtkprivate.h" +#include "gtkmarshalers.h" +#include "gtkshortcutssection.h" +#include "gtkshortcutswindow.h" +#include "gtksizerequest.h" +#include "gtkstylecontextprivate.h" +#include "gtktypebuiltins.h" +#include "gtkwidgetprivate.h" +#include "gtkwindow.h" + +#include "a11y/gtkcontaineraccessibleprivate.h" #include #include - -#include "gtkadjustment.h" -#include "gtkbuildable.h" -#include "gtkbuilderprivate.h" -#include "gtktypebuiltins.h" -#include "gtkprivate.h" -#include "gtkmarshalers.h" -#include "gtksizerequest.h" -#include "gtkwidgetprivate.h" -#include "gtkwindow.h" -#include "gtkassistant.h" -#include "gtkintl.h" -#include "gtkstylecontextprivate.h" -#include "a11y/gtkcontaineraccessible.h" -#include "a11y/gtkcontaineraccessibleprivate.h" -#include "gtkpopovermenu.h" -#include "gtkshortcutswindow.h" - +#include +#include +#include /* A handful of containers inside GTK+ are cheating and widgets * inside internal structure as direct children for the purpose diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c index 9ccf959556..2a0adf6450 100644 --- a/gtk/gtkexpander.c +++ b/gtk/gtkexpander.c @@ -109,24 +109,27 @@ #include "config.h" -#include - #include "gtkexpander.h" -#include "gtklabel.h" +#include "gtkbox.h" #include "gtkbuildable.h" -#include "gtkcontainer.h" +#include "gtkcontainerprivate.h" +#include "gtkdnd.h" +#include "gtkdragdest.h" +#include "gtkiconprivate.h" +#include "gtkgesturemultipress.h" +#include "gtkgesturesingle.h" +#include "gtkintl.h" +#include "gtklabel.h" #include "gtkmarshalers.h" #include "gtkmain.h" -#include "gtkintl.h" #include "gtkprivate.h" -#include "gtkdnd.h" -#include "a11y/gtkexpanderaccessible.h" #include "gtkstylecontextprivate.h" #include "gtkwidgetprivate.h" -#include "gtkcontainerprivate.h" -#include "gtkiconprivate.h" +#include "a11y/gtkexpanderaccessible.h" + +#include #define TIMEOUT_EXPAND 500 diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c index 58d610ec00..0a67447961 100644 --- a/gtk/gtkheaderbar.c +++ b/gtk/gtkheaderbar.c @@ -19,16 +19,24 @@ #include "config.h" -#include "gtkheaderbar.h" #include "gtkheaderbarprivate.h" + +#include "gtkbox.h" +#include "gtkbutton.h" +#include "gtkbuildable.h" +#include "gtkcontainerprivate.h" +#include "gtkcssnodeprivate.h" +#include "gtkimage.h" #include "gtkintl.h" +#include "gtklabel.h" +#include "gtkmenubutton.h" #include "gtkprivate.h" +#include "gtkseparator.h" +#include "gtksizerequest.h" #include "gtktypebuiltins.h" #include "gtkwidgetprivate.h" -#include "gtkcssnodeprivate.h" #include "gtkwindowprivate.h" -#include "gtkwidgetprivate.h" -#include "gtkcontainerprivate.h" + #include "a11y/gtkcontaineraccessible.h" #include diff --git a/gtk/gtkheaderbarprivate.h b/gtk/gtkheaderbarprivate.h index e11506d344..5ace00e37b 100644 --- a/gtk/gtkheaderbarprivate.h +++ b/gtk/gtkheaderbarprivate.h @@ -20,6 +20,8 @@ #ifndef __GTK_HEADER_BAR_PRIVATE_H__ #define __GTK_HEADER_BAR_PRIVATE_H__ +#include "gtkheaderbar.h" + G_BEGIN_DECLS gboolean _gtk_header_bar_shows_app_menu (GtkHeaderBar *bar); diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c index 0c40a564c9..36268952ef 100644 --- a/gtk/gtklinkbutton.c +++ b/gtk/gtklinkbutton.c @@ -53,23 +53,25 @@ #include "gtklinkbutton.h" -#include - -#include "gtkdnd.h" +#include "gtkdragsource.h" +#include "gtkgesturemultipress.h" +#include "gtkgesturesingle.h" +#include "gtkintl.h" #include "gtklabel.h" #include "gtkmain.h" #include "gtkmarshalers.h" #include "gtkmenu.h" #include "gtkmenuitem.h" -#include "gtksizerequest.h" -#include "gtkshow.h" -#include "gtktooltip.h" #include "gtkprivate.h" -#include "gtkintl.h" +#include "gtkshow.h" +#include "gtksizerequest.h" +#include "gtktooltip.h" #include "gtkwidgetprivate.h" #include "a11y/gtklinkbuttonaccessible.h" +#include + struct _GtkLinkButtonPrivate { gchar *uri; diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c index ca82986d20..b554b7df35 100644 --- a/gtk/gtkmenushell.c +++ b/gtk/gtkmenushell.c @@ -57,24 +57,24 @@ */ #include "config.h" +#include "gtkmenushellprivate.h" + #include "gtkbindings.h" +#include "gtkintl.h" #include "gtkkeyhash.h" -#include "gtklabel.h" +#include "gtklabelprivate.h" #include "gtkmain.h" #include "gtkmarshalers.h" #include "gtkmenubar.h" #include "gtkmenuitemprivate.h" -#include "gtkmenushellprivate.h" #include "gtkmnemonichash.h" +#include "gtkmodelmenuitem.h" +#include "gtkprivate.h" +#include "gtkseparatormenuitem.h" +#include "gtktypebuiltins.h" +#include "gtkwidgetprivate.h" #include "gtkwindow.h" #include "gtkwindowprivate.h" -#include "gtkprivate.h" -#include "gtkmain.h" -#include "gtkintl.h" -#include "gtktypebuiltins.h" -#include "gtkmodelmenuitem.h" -#include "gtkwidgetprivate.h" -#include "gtklabelprivate.h" #include "a11y/gtkmenushellaccessible.h" diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index c17ddb224c..31f9c5328c 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -25,33 +25,40 @@ #include "config.h" +#include "gtknotebook.h" + +#include "gtkbindings.h" +#include "gtkbox.h" +#include "gtkbuildable.h" +#include "gtkbutton.h" +#include "gtkcssstylepropertyprivate.h" +#include "gtkdnd.h" +#include "gtkdragdest.h" +#include "gtkeventcontrollermotion.h" +#include "gtkgesturemultipress.h" +#include "gtkgizmoprivate.h" +#include "gtkiconprivate.h" +#include "gtkintl.h" +#include "gtklabel.h" +#include "gtkmain.h" +#include "gtkmarshalers.h" +#include "gtkmenu.h" +#include "gtkmenuitem.h" +#include "gtkorientable.h" +#include "gtksizerequest.h" +#include "gtkstylecontextprivate.h" +#include "gtkprivate.h" +#include "gtkstack.h" +#include "gtktypebuiltins.h" +#include "gtkwidgetpath.h" +#include "gtkwidgetprivate.h" + +#include "a11y/gtknotebookaccessible.h" + #include #include #include -#include "gtknotebook.h" - -#include "gtkmain.h" -#include "gtkmenu.h" -#include "gtkmenuitem.h" -#include "gtklabel.h" -#include "gtkintl.h" -#include "gtkmarshalers.h" -#include "gtkbindings.h" -#include "gtkprivate.h" -#include "gtkdnd.h" -#include "gtkbuildable.h" -#include "gtktypebuiltins.h" -#include "gtkwidgetpath.h" -#include "gtkcssstylepropertyprivate.h" -#include "gtksizerequest.h" -#include "gtkstylecontextprivate.h" -#include "gtkwidgetprivate.h" -#include "gtkiconprivate.h" -#include "gtkgizmoprivate.h" -#include "a11y/gtknotebookaccessible.h" - - /** * SECTION:gtknotebook * @Short_description: A tabbed notebook container diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c index 1e1047c337..8c1da9fbcd 100644 --- a/gtk/gtkpaned.c +++ b/gtk/gtkpaned.c @@ -27,23 +27,26 @@ #include "gtkpaned.h" #include "gtkbindings.h" +#include "gtkcontainerprivate.h" +#include "gtkcssnodeprivate.h" +#include "gtkcssstylepropertyprivate.h" +#include "gtkeventcontrollermotion.h" +#include "gtkgesturepan.h" +#include "gtkgesturesingle.h" +#include "gtkgizmoprivate.h" +#include "gtkintl.h" #include "gtkmain.h" #include "gtkmarshalers.h" -#include "gtkorientable.h" -#include "gtkwindow.h" -#include "gtktypebuiltins.h" #include "gtkorientableprivate.h" #include "gtkprivate.h" -#include "gtkintl.h" -#include "gtkwidgetprivate.h" -#include "gtkcontainerprivate.h" -#include "a11y/gtkpanedaccessible.h" -#include "gtkcssnodeprivate.h" -#include "gtkstylecontextprivate.h" -#include "gtkcssstylepropertyprivate.h" #include "gtkrendericonprivate.h" -#include "gtkgizmoprivate.h" -#include "gtkeventcontrollermotion.h" +#include "gtksnapshot.h" +#include "gtkstylecontextprivate.h" +#include "gtktypebuiltins.h" +#include "gtkwidgetprivate.h" +#include "gtkwindow.h" + +#include "a11y/gtkpanedaccessible.h" #include diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c index 9fa32e7cfc..c751897182 100644 --- a/gtk/gtkpopover.c +++ b/gtk/gtkpopover.c @@ -102,35 +102,37 @@ */ #include "config.h" -#include -#include "gtkpopover.h" + #include "gtkpopoverprivate.h" -#include "gtktypebuiltins.h" -#include "gtkmain.h" -#include "gtkwindowprivate.h" -#include "gtkscrollable.h" + #include "gtkadjustment.h" -#include "gtkprivate.h" -#include "gtkintl.h" -#include "gtklabel.h" #include "gtkbox.h" #include "gtkbutton.h" #include "gtkcontainerprivate.h" -#include "gtkseparator.h" -#include "gtkmodelbutton.h" -#include "gtkwidgetprivate.h" -#include "gtkactionmuxerprivate.h" -#include "gtkmenutracker.h" -#include "gtkstack.h" -#include "gtksizegroup.h" -#include "a11y/gtkpopoveraccessible.h" -#include "gtkmenusectionbox.h" -#include "gtkroundedboxprivate.h" -#include "gtkstylecontextprivate.h" -#include "gtkprogresstrackerprivate.h" -#include "gtksettingsprivate.h" -#include "gtkgizmoprivate.h" #include "gtkcssnodeprivate.h" +#include "gtkentry.h" +#include "gtkgizmoprivate.h" +#include "gtkintl.h" +#include "gtklabel.h" +#include "gtkmain.h" +#include "gtkmenusectionbox.h" +#include "gtkmenutracker.h" +#include "gtkmodelbutton.h" +#include "gtkprivate.h" +#include "gtkprogresstrackerprivate.h" +#include "gtkrender.h" +#include "gtkroundedboxprivate.h" +#include "gtkscrollable.h" +#include "gtksettingsprivate.h" +#include "gtksizegroup.h" +#include "gtksnapshot.h" +#include "gtkstack.h" +#include "gtkstylecontextprivate.h" +#include "gtktypebuiltins.h" +#include "gtkwidgetprivate.h" +#include "gtkwindowprivate.h" + +#include "a11y/gtkpopoveraccessible.h" #include "gsk/gskroundedrectprivate.h" diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c index ddfa5aa546..9f9a7e93d0 100644 --- a/gtk/gtkscalebutton.c +++ b/gtk/gtkscalebutton.c @@ -36,29 +36,31 @@ #include "gtkscalebutton.h" -#include -#include -#include - #include "gtkadjustment.h" #include "gtkbindings.h" +#include "gtkbox.h" +#include "gtkbuttonprivate.h" +#include "gtkeventcontrollerscroll.h" #include "gtkframe.h" +#include "gtkgesture.h" +#include "gtkintl.h" #include "gtkmain.h" #include "gtkmarshalers.h" #include "gtkorientable.h" #include "gtkpopover.h" #include "gtkprivate.h" -#include "gtkscale.h" #include "gtkrangeprivate.h" -#include "gtkbox.h" +#include "gtkscale.h" +#include "gtktypebuiltins.h" #include "gtkwindow.h" #include "gtkwindowprivate.h" -#include "gtktypebuiltins.h" -#include "gtkgesture.h" -#include "gtkbuttonprivate.h" -#include "gtkintl.h" + #include "a11y/gtkscalebuttonaccessible.h" +#include +#include +#include + /** * SECTION:gtkscalebutton * @Short_description: A button which pops up a scale diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c index 56d0d0243f..bce856969d 100644 --- a/gtk/gtkscrolledwindow.c +++ b/gtk/gtkscrolledwindow.c @@ -30,21 +30,30 @@ #include "gtkadjustmentprivate.h" #include "gtkbindings.h" #include "gtkdnd.h" +#include "gtkeventcontrollermotion.h" +#include "gtkeventcontrollerscroll.h" +#include "gtkgesturedrag.h" +#include "gtkgesturelongpress.h" +#include "gtkgesturepan.h" +#include "gtkgesturesingle.h" +#include "gtkgestureswipe.h" #include "gtkintl.h" +#include "gtkkineticscrolling.h" #include "gtkmain.h" #include "gtkmarshalers.h" #include "gtkprivate.h" +#include "gtkprogresstrackerprivate.h" #include "gtkscrollable.h" #include "gtkscrollbar.h" +#include "gtksettingsprivate.h" +#include "gtksnapshot.h" +#include "gtkstylecontextprivate.h" #include "gtktypebuiltins.h" #include "gtkviewport.h" #include "gtkwidgetprivate.h" #include "gtkwindow.h" -#include "gtkkineticscrolling.h" + #include "a11y/gtkscrolledwindowaccessible.h" -#include "gtkstylecontextprivate.h" -#include "gtkprogresstrackerprivate.h" -#include "gtksettingsprivate.h" #include diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 4a4bd86d2f..d7bed5d2b9 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -18,50 +18,54 @@ #include "config.h" -#include -#include - -#define GDK_COMPILATION -#include "gdkeventsprivate.h" - #include "gtktreeview.h" #include "gtkadjustmentprivate.h" -#include "gtkcssnumbervalueprivate.h" -#include "gtkrbtreeprivate.h" -#include "gtktreednd.h" -#include "gtktreeprivate.h" -#include "gtkcellrenderer.h" -#include "gtkmarshalers.h" +#include "gtkbox.h" +#include "gtkbindings.h" #include "gtkbuildable.h" #include "gtkbutton.h" -#include "gtklabel.h" -#include "gtkbox.h" -#include "gtkintl.h" -#include "gtkbindings.h" -#include "gtkcontainer.h" -#include "gtkentry.h" -#include "gtkframe.h" -#include "gtkmain.h" -#include "gtktreemodelsort.h" -#include "gtktooltip.h" -#include "gtkscrollable.h" #include "gtkcelllayout.h" -#include "gtkprivate.h" -#include "gtkwidgetprivate.h" -#include "gtkentryprivate.h" -#include "gtkstylecontextprivate.h" -#include "gtkcssstylepropertyprivate.h" +#include "gtkcellrenderer.h" +#include "gtkcontainer.h" +#include "gtkcssnumbervalueprivate.h" #include "gtkcssrgbavalueprivate.h" -#include "gtkrendericonprivate.h" -#include "gtktypebuiltins.h" +#include "gtkcssstylepropertyprivate.h" +#include "gtkdragdest.h" +#include "gtkdragsource.h" +#include "gtkentryprivate.h" +#include "gtkeventcontrollermotion.h" +#include "gtkeventcontrollerscroll.h" +#include "gtkframe.h" +#include "gtkgesturedrag.h" +#include "gtkgesturemultipress.h" +#include "gtkgesturesingle.h" +#include "gtkintl.h" +#include "gtklabel.h" #include "gtkmain.h" +#include "gtkmarshalers.h" +#include "gtkprivate.h" +#include "gtkrbtreeprivate.h" +#include "gtkrendericonprivate.h" +#include "gtkscrollable.h" #include "gtksettingsprivate.h" #include "gtksnapshotprivate.h" +#include "gtkstylecontextprivate.h" +#include "gtktooltip.h" +#include "gtktreednd.h" +#include "gtktreemodelsort.h" +#include "gtktreeprivate.h" +#include "gtktypebuiltins.h" #include "gtkwidgetpath.h" -#include "gtkeventcontrollermotion.h" +#include "gtkwidgetprivate.h" +#include "gtkwindowgroup.h" + #include "a11y/gtktreeviewaccessibleprivate.h" +#include "gdk/gdkeventsprivate.h" + +#include +#include /** * SECTION:gtktreeview diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index 578b5ecbc3..a315ad739c 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -19,24 +19,26 @@ #include "gtktreeviewcolumn.h" -#include - -#include "gtktreeview.h" -#include "gtktreeprivate.h" -#include "gtkcelllayout.h" -#include "gtkbutton.h" -#include "gtklabel.h" #include "gtkbox.h" -#include "gtkmarshalers.h" -#include "gtkimage.h" -#include "gtkcellareacontext.h" +#include "gtkbutton.h" #include "gtkcellareabox.h" -#include "gtkprivate.h" +#include "gtkcellareacontext.h" +#include "gtkcelllayout.h" +#include "gtkframe.h" +#include "gtkimage.h" #include "gtkintl.h" +#include "gtklabel.h" +#include "gtkmarshalers.h" +#include "gtkprivate.h" +#include "gtktreeprivate.h" +#include "gtktreeview.h" #include "gtktypebuiltins.h" -#include "a11y/gtktreeviewaccessibleprivate.h" #include "gtkwidgetprivate.h" +#include "a11y/gtktreeviewaccessibleprivate.h" + +#include + /** * SECTION:gtktreeviewcolumn diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 45e109b0ad..203f638ad2 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -24,56 +24,64 @@ #include "config.h" -#include - -#include "gtkwindow.h" - -#include -#include -#include -#include -#include - -#include "gtkprivate.h" #include "gtkwindowprivate.h" + #include "gtkaccelgroupprivate.h" +#include "gtkapplicationprivate.h" #include "gtkbindings.h" +#include "gtkbox.h" +#include "gtkbuildable.h" +#include "gtkbuilderprivate.h" +#include "gtkbutton.h" +#include "gtkcheckbutton.h" +#include "gtkcheckmenuitem.h" #include "gtkcontainerprivate.h" #include "gtkcsscornervalueprivate.h" #include "gtkcssiconthemevalueprivate.h" #include "gtkcssrgbavalueprivate.h" #include "gtkcssshadowsvalueprivate.h" +#include "gtkcssstylepropertyprivate.h" #include "gtkdebugupdatesprivate.h" +#include "gtkdragdest.h" +#include "gtkgesturedrag.h" +#include "gtkgesturemultipress.h" +#include "gtkgestureprivate.h" +#include "gtkheaderbarprivate.h" +#include "gtkicontheme.h" +#include "gtkintl.h" #include "gtkkeyhash.h" #include "gtkmain.h" +#include "gtkmarshalers.h" +#include "gtkmessagedialog.h" #include "gtkmnemonichash.h" +#include "gtkmenu.h" #include "gtkmenubar.h" #include "gtkmenushellprivate.h" -#include "gtkicontheme.h" -#include "gtkmarshalers.h" -#include "gtkbuildable.h" -#include "gtkbuilderprivate.h" -#include "gtkwidgetprivate.h" -#include "gtkcontainerprivate.h" -#include "gtkintl.h" +#include "gtkpointerfocusprivate.h" +#include "gtkpopoverprivate.h" +#include "gtkprivate.h" +#include "gtkseparatormenuitem.h" +#include "gtksettings.h" +#include "gtksnapshot.h" #include "gtkstylecontextprivate.h" #include "gtktypebuiltins.h" -#include "gtkbox.h" -#include "gtkbutton.h" -#include "gtkheaderbar.h" -#include "gtkheaderbarprivate.h" -#include "gtkpopoverprivate.h" +#include "gtkwidgetprivate.h" +#include "gtkwindowgroup.h" + #include "a11y/gtkwindowaccessible.h" #include "a11y/gtkcontaineraccessibleprivate.h" -#include "gtkapplicationprivate.h" -#include "gtkgestureprivate.h" #include "inspector/init.h" #include "inspector/window.h" -#include "gtkcssstylepropertyprivate.h" -#include "gtkpointerfocusprivate.h" #include "gdk/gdk-private.h" +#include +#include +#include +#include +#include +#include + #ifdef GDK_WINDOWING_X11 #include "x11/gdkx.h" #endif