[gtk] a11y: Remove gtk.h include
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] a11y: Remove gtk.h include
- Date: Fri, 9 Feb 2018 00:20:16 +0000 (UTC)
commit 9c7874214e05132b7e1bb97a28ad0b2df02b5cfe
Author: Benjamin Otte <otte redhat com>
Date: Thu Feb 8 23:39:17 2018 +0100
a11y: Remove gtk.h include
gtk/a11y/gtkcellaccessible.h | 2 +-
gtk/gtkcellrenderer.c | 6 +++++-
gtk/gtkcellrendererpixbuf.c | 9 +++++++--
gtk/gtkcellrenderertext.c | 9 +++++----
gtk/gtkcellrenderertoggle.c | 6 +++++-
5 files changed, 23 insertions(+), 9 deletions(-)
---
diff --git a/gtk/a11y/gtkcellaccessible.h b/gtk/a11y/gtkcellaccessible.h
index 1195a38f9f..e144eed0ad 100644
--- a/gtk/a11y/gtkcellaccessible.h
+++ b/gtk/a11y/gtkcellaccessible.h
@@ -23,7 +23,7 @@
#endif
#include <atk/atk.h>
-#include <gtk/gtk.h>
+#include <gtk/gtkaccessible.h>
G_BEGIN_DECLS
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c
index be3e4caf20..8e2e041ea0 100644
--- a/gtk/gtkcellrenderer.c
+++ b/gtk/gtkcellrenderer.c
@@ -16,12 +16,16 @@
*/
#include "config.h"
+
#include "gtkcellrenderer.h"
+
#include "gtkintl.h"
#include "gtkmarshalers.h"
-#include "gtktypebuiltins.h"
#include "gtkprivate.h"
+#include "gtksnapshot.h"
#include "gtktreeprivate.h"
+#include "gtktypebuiltins.h"
+
#include "a11y/gtkrenderercellaccessible.h"
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c
index 7fee20be91..3d0efa9054 100644
--- a/gtk/gtkcellrendererpixbuf.c
+++ b/gtk/gtkcellrendererpixbuf.c
@@ -16,16 +16,21 @@
*/
#include "config.h"
-#include <stdlib.h>
-#include <cairo-gobject.h>
+
#include "gtkcellrendererpixbuf.h"
+
#include "gtkiconhelperprivate.h"
#include "gtkicontheme.h"
#include "gtkintl.h"
#include "gtkprivate.h"
+#include "gtksnapshot.h"
#include "gtkstylecontextprivate.h"
+#include "gtktypebuiltins.h"
+
#include "a11y/gtkimagecellaccessible.h"
+#include <cairo-gobject.h>
+#include <stdlib.h>
/**
* SECTION:gtkcellrendererpixbuf
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c
index 516bec90e7..58c7367407 100644
--- a/gtk/gtkcellrenderertext.c
+++ b/gtk/gtkcellrenderertext.c
@@ -19,17 +19,18 @@
#include "gtkcellrenderertext.h"
-#include <stdlib.h>
-
#include "gtkeditable.h"
#include "gtkentry.h"
-#include "gtksizerequest.h"
-#include "gtkmarshalers.h"
#include "gtkintl.h"
+#include "gtkmarshalers.h"
#include "gtkprivate.h"
+#include "gtksizerequest.h"
+#include "gtksnapshot.h"
#include "gtktreeprivate.h"
+
#include "a11y/gtktextcellaccessible.h"
+#include <stdlib.h>
/**
* SECTION:gtkcellrenderertext
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index 27423007fb..4f7225e369 100644
--- a/gtk/gtkcellrenderertoggle.c
+++ b/gtk/gtkcellrenderertoggle.c
@@ -16,16 +16,20 @@
*/
#include "config.h"
-#include <stdlib.h>
+
#include "gtkcellrenderertoggle.h"
+
#include "gtkintl.h"
#include "gtkmarshalers.h"
#include "gtkprivate.h"
#include "gtkrendericonprivate.h"
+#include "gtksnapshot.h"
#include "gtkstylecontextprivate.h"
#include "gtktreeprivate.h"
+
#include "a11y/gtkbooleancellaccessible.h"
+#include <stdlib.h>
/**
* SECTION:gtkcellrenderertoggle
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]