[gtk] a11y: Remove gtk.h from flowbox includes



commit df68ef8553a9ba175532345d3c1b128f146ae925
Author: Benjamin Otte <otte redhat com>
Date:   Fri Feb 9 00:47:58 2018 +0100

    a11y: Remove gtk.h from flowbox includes

 gtk/a11y/gtkflowboxaccessible.h      |  1 -
 gtk/a11y/gtkflowboxchildaccessible.h |  1 -
 gtk/gtkflowbox.c                     | 19 +++++++++++++++----
 3 files changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/gtk/a11y/gtkflowboxaccessible.h b/gtk/a11y/gtkflowboxaccessible.h
index f22ea0663b..3447315f50 100644
--- a/gtk/a11y/gtkflowboxaccessible.h
+++ b/gtk/a11y/gtkflowboxaccessible.h
@@ -22,7 +22,6 @@
 #error "Only <gtk/gtk-a11y.h> can be included directly."
 #endif
 
-#include <gtk/gtk.h>
 #include <gtk/a11y/gtkcontaineraccessible.h>
 
 G_BEGIN_DECLS
diff --git a/gtk/a11y/gtkflowboxchildaccessible.h b/gtk/a11y/gtkflowboxchildaccessible.h
index 5da596a236..1e11b355c2 100644
--- a/gtk/a11y/gtkflowboxchildaccessible.h
+++ b/gtk/a11y/gtkflowboxchildaccessible.h
@@ -22,7 +22,6 @@
 #error "Only <gtk/gtk-a11y.h> can be included directly."
 #endif
 
-#include <gtk/gtk.h>
 #include <gtk/a11y/gtkcontaineraccessible.h>
 
 G_BEGIN_DECLS
diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c
index 8afc448456..d95aaff98e 100644
--- a/gtk/gtkflowbox.c
+++ b/gtk/gtkflowbox.c
@@ -76,14 +76,25 @@
 #include <config.h>
 
 #include "gtkflowbox.h"
+
+#include "gtkadjustment.h"
+#include "gtkbindings.h"
+#include "gtkcontainerprivate.h"
+#include "gtkcssnodeprivate.h"
+#include "gtkgesturedrag.h"
+#include "gtkgesturemultipress.h"
+#include "gtkintl.h"
+#include "gtkmain.h"
 #include "gtkmarshalers.h"
 #include "gtkprivate.h"
 #include "gtkorientableprivate.h"
-#include "gtkintl.h"
-#include "gtkcssnodeprivate.h"
-#include "gtkwidgetprivate.h"
+#include "gtkrender.h"
+#include "gtksizerequest.h"
+#include "gtksnapshot.h"
 #include "gtkstylecontextprivate.h"
-#include "gtkcontainerprivate.h"
+#include "gtktypebuiltins.h"
+#include "gtkviewport.h"
+#include "gtkwidgetprivate.h"
 
 #include "a11y/gtkflowboxaccessibleprivate.h"
 #include "a11y/gtkflowboxchildaccessible.h"


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