[gtk+] inspector: Clean up includes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Clean up includes
- Date: Sat, 12 Jul 2014 03:14:49 +0000 (UTC)
commit f8986d9aa7c07bfd7f7c729db7f58a5baa63dd93
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 11 23:14:04 2014 -0400
inspector: Clean up includes
Don't include gtk.h, instead include individual headers.
And include config.h and gi18n-lib.h everywhere.
gtk/inspector/action-editor.c | 7 +++++++
gtk/inspector/action-editor.h | 2 +-
gtk/inspector/actions.c | 7 +++++++
gtk/inspector/actions.h | 2 +-
gtk/inspector/button-path.c | 6 ++++++
gtk/inspector/button-path.h | 2 +-
gtk/inspector/classes-list.c | 8 ++++++++
gtk/inspector/classes-list.h | 2 +-
gtk/inspector/css-editor.c | 11 ++++++++++-
gtk/inspector/css-editor.h | 2 +-
gtk/inspector/data-list.c | 5 +++++
gtk/inspector/data-list.h | 2 +-
gtk/inspector/general.c | 3 +++
gtk/inspector/general.h | 2 +-
gtk/inspector/gestures.c | 9 ++++++++-
gtk/inspector/gestures.h | 2 +-
gtk/inspector/inspect-button.c | 4 ++++
gtk/inspector/menu.c | 3 +++
gtk/inspector/menu.h | 2 +-
gtk/inspector/object-hierarchy.c | 7 +++++++
gtk/inspector/object-hierarchy.h | 2 +-
gtk/inspector/prop-editor.c | 20 ++++++++++++++++++++
gtk/inspector/prop-editor.h | 2 +-
gtk/inspector/prop-list.c | 6 ++++++
gtk/inspector/prop-list.h | 2 +-
gtk/inspector/python-shell.c | 6 ++++++
gtk/inspector/python-shell.h | 2 +-
gtk/inspector/resource-list.c | 5 +++++
gtk/inspector/resource-list.h | 2 +-
gtk/inspector/signals-list.c | 7 +++++++
gtk/inspector/signals-list.h | 2 +-
gtk/inspector/size-groups.c | 8 ++++++++
gtk/inspector/size-groups.h | 2 +-
gtk/inspector/style-prop-list.c | 6 ++++++
gtk/inspector/style-prop-list.h | 3 +--
gtk/inspector/visual.c | 6 ++++++
gtk/inspector/visual.h | 2 +-
gtk/inspector/widget-tree.c | 20 +++++++++++++++++---
gtk/inspector/widget-tree.h | 4 +---
gtk/inspector/window.c | 2 ++
gtk/inspector/window.h | 2 +-
41 files changed, 171 insertions(+), 28 deletions(-)
---
diff --git a/gtk/inspector/action-editor.c b/gtk/inspector/action-editor.c
index 397cc74..cfc0412 100644
--- a/gtk/inspector/action-editor.c
+++ b/gtk/inspector/action-editor.c
@@ -17,8 +17,15 @@
#include "config.h"
#include <glib/gi18n-lib.h>
+
#include "action-editor.h"
+#include "gtksizegroup.h"
+#include "gtktogglebutton.h"
+#include "gtkentry.h"
+#include "gtkbin.h"
+#include "gtklabel.h"
+
struct _GtkInspectorActionEditorPrivate
{
GActionGroup *group;
diff --git a/gtk/inspector/action-editor.h b/gtk/inspector/action-editor.h
index 23f3549..5edb2b2 100644
--- a/gtk/inspector/action-editor.h
+++ b/gtk/inspector/action-editor.h
@@ -19,7 +19,7 @@
#define _GTK_INSPECTOR_ACTION_EDITOR_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_ACTION_EDITOR (gtk_inspector_action_editor_get_type())
diff --git a/gtk/inspector/actions.c b/gtk/inspector/actions.c
index e2620f5..dc7a687 100644
--- a/gtk/inspector/actions.c
+++ b/gtk/inspector/actions.c
@@ -17,9 +17,16 @@
#include "config.h"
#include <glib/gi18n-lib.h>
+
#include "actions.h"
#include "action-editor.h"
+
+#include "gtkapplication.h"
+#include "gtkapplicationwindow.h"
+#include "gtktreeview.h"
+#include "gtkliststore.h"
#include "gtkwidgetprivate.h"
+#include "gtkpopover.h"
enum
{
diff --git a/gtk/inspector/actions.h b/gtk/inspector/actions.h
index d9d36ee..7495367 100644
--- a/gtk/inspector/actions.h
+++ b/gtk/inspector/actions.h
@@ -18,7 +18,7 @@
#ifndef _GTK_INSPECTOR_ACTIONS_H_
#define _GTK_INSPECTOR_ACTIONS_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_ACTIONS (gtk_inspector_actions_get_type())
#define GTK_INSPECTOR_ACTIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_ACTIONS,
GtkInspectorActions))
diff --git a/gtk/inspector/button-path.c b/gtk/inspector/button-path.c
index 733c7a1..cfd7041 100644
--- a/gtk/inspector/button-path.c
+++ b/gtk/inspector/button-path.c
@@ -20,8 +20,14 @@
* THE SOFTWARE.
*/
+#include "config.h"
+#include <glib/gi18n-lib.h>
+
#include "button-path.h"
+#include "gtkbutton.h"
+#include "gtkwidgetpath.h"
+
struct _GtkInspectorButtonPathPrivate
{
GtkWidget *sw;
diff --git a/gtk/inspector/button-path.h b/gtk/inspector/button-path.h
index 22d89cc..c16efb6 100644
--- a/gtk/inspector/button-path.h
+++ b/gtk/inspector/button-path.h
@@ -23,7 +23,7 @@
#define _GTK_INSPECTOR_BUTTON_PATH_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_BUTTON_PATH (gtk_inspector_button_path_get_type())
#define GTK_INSPECTOR_BUTTON_PATH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),
GTK_TYPE_INSPECTOR_BUTTON_PATH, GtkInspectorButtonPath))
diff --git a/gtk/inspector/classes-list.c b/gtk/inspector/classes-list.c
index a5f716d..8bc17d9 100644
--- a/gtk/inspector/classes-list.c
+++ b/gtk/inspector/classes-list.c
@@ -22,8 +22,16 @@
#include "config.h"
#include <glib/gi18n-lib.h>
+
#include "classes-list.h"
+#include "gtkliststore.h"
+#include "gtktreeview.h"
+#include "gtkcellrenderertoggle.h"
+#include "gtkbutton.h"
+#include "gtkdialog.h"
+#include "gtkstylecontext.h"
+
enum
{
COLUMN_ENABLED,
diff --git a/gtk/inspector/classes-list.h b/gtk/inspector/classes-list.h
index 09ab770..fb8c948 100644
--- a/gtk/inspector/classes-list.h
+++ b/gtk/inspector/classes-list.h
@@ -23,7 +23,7 @@
#ifndef _GTK_INSPECTOR_CLASSES_LIST_H_
#define _GTK_INSPECTOR_CLASSES_LIST_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_CLASSES_LIST (gtk_inspector_classes_list_get_type())
#define GTK_INSPECTOR_CLASSES_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),
GTK_TYPE_INSPECTOR_CLASSES_LIST, GtkInspectorClassesList))
diff --git a/gtk/inspector/css-editor.c b/gtk/inspector/css-editor.c
index 8224c6a..e00bf53 100644
--- a/gtk/inspector/css-editor.c
+++ b/gtk/inspector/css-editor.c
@@ -21,9 +21,18 @@
*/
#include "config.h"
-#include "css-editor.h"
#include <glib/gi18n-lib.h>
+#include "css-editor.h"
+
+#include "gtkcssprovider.h"
+#include "gtkstyleprovider.h"
+#include "gtkstylecontext.h"
+#include "gtktextview.h"
+#include "gtkmessagedialog.h"
+#include "gtkfilechooserdialog.h"
+#include "gtktoggletoolbutton.h"
+
#define GTK_INSPECTOR_CSS_EDITOR_TEXT "inspector-css-editor-text"
#define GTK_INSPECTOR_CSS_EDITOR_PROVIDER "inspector-css-editor-provider"
diff --git a/gtk/inspector/css-editor.h b/gtk/inspector/css-editor.h
index 82a74f0..ad95d65 100644
--- a/gtk/inspector/css-editor.h
+++ b/gtk/inspector/css-editor.h
@@ -23,7 +23,7 @@
#ifndef _GTK_INSPECTOR_CSS_EDITOR_H_
#define _GTK_INSPECTOR_CSS_EDITOR_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_CSS_EDITOR (gtk_inspector_css_editor_get_type())
#define GTK_INSPECTOR_CSS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),
GTK_TYPE_INSPECTOR_CSS_EDITOR, GtkInspectorCssEditor))
diff --git a/gtk/inspector/data-list.c b/gtk/inspector/data-list.c
index 7e3e11f..4ed9ee1 100644
--- a/gtk/inspector/data-list.c
+++ b/gtk/inspector/data-list.c
@@ -17,8 +17,13 @@
#include "config.h"
#include <glib/gi18n-lib.h>
+
#include "data-list.h"
+#include "gtktreeview.h"
+#include "gtkcellrenderertext.h"
+#include "gtktoggletoolbutton.h"
+
struct _GtkInspectorDataListPrivate
{
GtkTreeModel *object;
diff --git a/gtk/inspector/data-list.h b/gtk/inspector/data-list.h
index 57f0eca..9a9af15 100644
--- a/gtk/inspector/data-list.h
+++ b/gtk/inspector/data-list.h
@@ -18,7 +18,7 @@
#ifndef _GTK_INSPECTOR_DATA_LIST_H_
#define _GTK_INSPECTOR_DATA_LIST_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_DATA_LIST (gtk_inspector_data_list_get_type())
#define GTK_INSPECTOR_DATA_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),
GTK_TYPE_INSPECTOR_DATA_LIST, GtkInspectorDataList))
diff --git a/gtk/inspector/general.c b/gtk/inspector/general.c
index 2493c1f..e915907 100644
--- a/gtk/inspector/general.c
+++ b/gtk/inspector/general.c
@@ -20,6 +20,9 @@
#include "general.h"
+#include "gtkdebug.h"
+#include "gtkswitch.h"
+#include "gtklistbox.h"
#include "gtkprivate.h"
#ifdef GDK_WINDOWING_X11
diff --git a/gtk/inspector/general.h b/gtk/inspector/general.h
index 88573b0..c83c04b 100644
--- a/gtk/inspector/general.h
+++ b/gtk/inspector/general.h
@@ -18,7 +18,7 @@
#ifndef _GTK_INSPECTOR_GENERAL_H_
#define _GTK_INSPECTOR_GENERAL_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_GENERAL (gtk_inspector_general_get_type())
#define GTK_INSPECTOR_GENERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_GENERAL,
GtkInspectorGeneral))
diff --git a/gtk/inspector/gestures.c b/gtk/inspector/gestures.c
index 8424c1e..d9d727a 100644
--- a/gtk/inspector/gestures.c
+++ b/gtk/inspector/gestures.c
@@ -17,10 +17,17 @@
#include "config.h"
#include <glib/gi18n-lib.h>
+
#include "gestures.h"
-#include "gtkwidgetprivate.h"
#include "widget-tree.h"
+#include "gtksizegroup.h"
+#include "gtkcomboboxtext.h"
+#include "gtklistbox.h"
+#include "gtkgesture.h"
+#include "gtklabel.h"
+#include "gtkframe.h"
+#include "gtkwidgetprivate.h"
enum
{
diff --git a/gtk/inspector/gestures.h b/gtk/inspector/gestures.h
index e4f8dcb..d5c8acb 100644
--- a/gtk/inspector/gestures.h
+++ b/gtk/inspector/gestures.h
@@ -18,7 +18,7 @@
#ifndef _GTK_INSPECTOR_GESTURES_H_
#define _GTK_INSPECTOR_GESTURES_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_GESTURES (gtk_inspector_gestures_get_type())
#define GTK_INSPECTOR_GESTURES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),
GTK_TYPE_INSPECTOR_GESTURES, GtkInspectorGestures))
diff --git a/gtk/inspector/inspect-button.c b/gtk/inspector/inspect-button.c
index f55874b..ad95480 100644
--- a/gtk/inspector/inspect-button.c
+++ b/gtk/inspector/inspect-button.c
@@ -23,9 +23,13 @@
#include "config.h"
#include <glib/gi18n-lib.h>
+
#include "window.h"
#include "widget-tree.h"
+#include "gtknotebook.h"
+#include "gtkmain.h"
+
typedef struct
{
gint x;
diff --git a/gtk/inspector/menu.c b/gtk/inspector/menu.c
index 652e308..98412d9 100644
--- a/gtk/inspector/menu.c
+++ b/gtk/inspector/menu.c
@@ -17,7 +17,10 @@
#include "config.h"
#include <glib/gi18n-lib.h>
+
#include "menu.h"
+
+#include "gtktreestore.h"
#include "gtkwidgetprivate.h"
enum
diff --git a/gtk/inspector/menu.h b/gtk/inspector/menu.h
index 3472c1d..1d7b0d9 100644
--- a/gtk/inspector/menu.h
+++ b/gtk/inspector/menu.h
@@ -18,7 +18,7 @@
#ifndef _GTK_INSPECTOR_MENU_H_
#define _GTK_INSPECTOR_MENU_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_MENU (gtk_inspector_menu_get_type())
#define GTK_INSPECTOR_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_MENU,
GtkInspectorMenu))
diff --git a/gtk/inspector/object-hierarchy.c b/gtk/inspector/object-hierarchy.c
index 1547e61..47cfbc6 100644
--- a/gtk/inspector/object-hierarchy.c
+++ b/gtk/inspector/object-hierarchy.c
@@ -20,8 +20,15 @@
* THE SOFTWARE.
*/
+#include "config.h"
+#include <glib/gi18n-lib.h>
+
#include "object-hierarchy.h"
+#include "gtktreeview.h"
+#include "gtktreestore.h"
+
+
enum
{
COLUMN_OBJECT_NAME
diff --git a/gtk/inspector/object-hierarchy.h b/gtk/inspector/object-hierarchy.h
index c008eec..961be2a 100644
--- a/gtk/inspector/object-hierarchy.h
+++ b/gtk/inspector/object-hierarchy.h
@@ -23,7 +23,7 @@
#ifndef _GTK_INSPECTOR_OBJECT_HIERARCHY_H_
#define _GTK_INSPECTOR_OBJECT_HIERARCHY_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_OBJECT_HIERARCHY (gtk_inspector_object_hierarchy_get_type())
#define GTK_INSPECTOR_OBJECT_HIERARCHY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),
GTK_TYPE_INSPECTOR_OBJECT_HIERARCHY, GtkInspectorObjectHierarchy))
diff --git a/gtk/inspector/prop-editor.c b/gtk/inspector/prop-editor.c
index 4614a92..2e78da9 100644
--- a/gtk/inspector/prop-editor.c
+++ b/gtk/inspector/prop-editor.c
@@ -17,8 +17,28 @@
#include "config.h"
#include <glib/gi18n-lib.h>
+
#include "prop-editor.h"
#include "widget-tree.h"
+
+#include "gtkactionable.h"
+#include "gtkadjustment.h"
+#include "gtkapplicationwindow.h"
+#include "gtkcelllayout.h"
+#include "gtkcellrenderertext.h"
+#include "gtkcolorbutton.h"
+#include "gtkcolorchooser.h"
+#include "gtkcolorchooserwidget.h"
+#include "gtkcombobox.h"
+#include "gtkfontchooser.h"
+#include "gtkfontchooserwidget.h"
+#include "gtkiconview.h"
+#include "gtklabel.h"
+#include "gtkpopover.h"
+#include "gtkradiobutton.h"
+#include "gtkscrolledwindow.h"
+#include "gtkspinbutton.h"
+#include "gtktogglebutton.h"
#include "gtkwidgetprivate.h"
struct _GtkInspectorPropEditorPrivate
diff --git a/gtk/inspector/prop-editor.h b/gtk/inspector/prop-editor.h
index 6fef231..ab7f548 100644
--- a/gtk/inspector/prop-editor.h
+++ b/gtk/inspector/prop-editor.h
@@ -19,7 +19,7 @@
#define _GTK_INSPECTOR_PROP_EDITOR_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_PROP_EDITOR (gtk_inspector_prop_editor_get_type())
diff --git a/gtk/inspector/prop-list.c b/gtk/inspector/prop-list.c
index 4a1c034..c28e16e 100644
--- a/gtk/inspector/prop-list.c
+++ b/gtk/inspector/prop-list.c
@@ -21,10 +21,16 @@
* THE SOFTWARE.
*/
+#include "config.h"
+#include <glib/gi18n-lib.h>
+
#include "prop-list.h"
+
#include "prop-editor.h"
#include "widget-tree.h"
+#include "gtkcelllayout.h"
+#include "gtkpopover.h"
enum
{
diff --git a/gtk/inspector/prop-list.h b/gtk/inspector/prop-list.h
index efac731..9c293f4 100644
--- a/gtk/inspector/prop-list.h
+++ b/gtk/inspector/prop-list.h
@@ -24,7 +24,7 @@
#define _GTK_INSPECTOR_PROP_LIST_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_PROP_LIST (gtk_inspector_prop_list_get_type())
#define GTK_INSPECTOR_PROP_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),
GTK_TYPE_INSPECTOR_PROP_LIST, GtkInspectorPropList))
diff --git a/gtk/inspector/python-shell.c b/gtk/inspector/python-shell.c
index 5d13f78..b52c723 100644
--- a/gtk/inspector/python-shell.c
+++ b/gtk/inspector/python-shell.c
@@ -20,12 +20,18 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#include "config.h"
+#include <glib/gi18n-lib.h>
+
#include <gdk/gdkkeysyms.h>
#include <string.h>
#include "python-hooks.h"
#include "python-shell.h"
+#include "gtkscrolledwindow.h"
+#include "gtktextview.h"
+
#define MAX_HISTORY_LENGTH 20
struct _GtkInspectorPythonShellPrivate
diff --git a/gtk/inspector/python-shell.h b/gtk/inspector/python-shell.h
index 9e002a9..e1065e9 100644
--- a/gtk/inspector/python-shell.h
+++ b/gtk/inspector/python-shell.h
@@ -27,7 +27,7 @@ typedef struct _GtkInspectorPythonShell GtkInspectorPythonShell;
typedef struct _GtkInspectorPythonShellClass GtkInspectorPythonShellClass;
typedef struct _GtkInspectorPythonShellPrivate GtkInspectorPythonShellPrivate;
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_PYTHON_SHELL (gtk_inspector_python_shell_get_type())
#define GTK_INSPECTOR_PYTHON_SHELL(obj) \
diff --git a/gtk/inspector/resource-list.c b/gtk/inspector/resource-list.c
index c3ad3c3..6693f1b 100644
--- a/gtk/inspector/resource-list.c
+++ b/gtk/inspector/resource-list.c
@@ -17,8 +17,13 @@
#include "config.h"
#include <glib/gi18n-lib.h>
+
#include "resource-list.h"
+#include "gtktextbuffer.h"
+#include "gtktreestore.h"
+#include "gtktreeselection.h"
+
enum
{
COLUMN_NAME,
diff --git a/gtk/inspector/resource-list.h b/gtk/inspector/resource-list.h
index 2cc0beb..f51e7fe 100644
--- a/gtk/inspector/resource-list.h
+++ b/gtk/inspector/resource-list.h
@@ -18,7 +18,7 @@
#ifndef _GTK_INSPECTOR_RESOURCE_LIST_H_
#define _GTK_INSPECTOR_RESOURCE_LIST_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_RESOURCE_LIST (gtk_inspector_resource_list_get_type())
#define GTK_INSPECTOR_RESOURCE_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),
GTK_TYPE_INSPECTOR_RESOURCE_LIST, GtkInspectorResourceList))
diff --git a/gtk/inspector/signals-list.c b/gtk/inspector/signals-list.c
index d15fab5..7695717 100644
--- a/gtk/inspector/signals-list.c
+++ b/gtk/inspector/signals-list.c
@@ -17,8 +17,15 @@
#include "config.h"
#include <glib/gi18n-lib.h>
+
#include "signals-list.h"
+#include "gtkcellrenderer.h"
+#include "gtkliststore.h"
+#include "gtktextbuffer.h"
+#include "gtktoggletoolbutton.h"
+#include "gtktreeviewcolumn.h"
+
enum
{
COLUMN_NAME,
diff --git a/gtk/inspector/signals-list.h b/gtk/inspector/signals-list.h
index 51f46f0..211f5ba 100644
--- a/gtk/inspector/signals-list.h
+++ b/gtk/inspector/signals-list.h
@@ -18,7 +18,7 @@
#ifndef _GTK_INSPECTOR_SIGNALS_LIST_H_
#define _GTK_INSPECTOR_SIGNALS_LIST_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkpaned.h>
#define GTK_TYPE_INSPECTOR_SIGNALS_LIST (gtk_inspector_signals_list_get_type())
#define GTK_INSPECTOR_SIGNALS_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),
GTK_TYPE_INSPECTOR_SIGNALS_LIST, GtkInspectorSignalsList))
diff --git a/gtk/inspector/size-groups.c b/gtk/inspector/size-groups.c
index a077a20..b6172f8 100644
--- a/gtk/inspector/size-groups.c
+++ b/gtk/inspector/size-groups.c
@@ -17,8 +17,16 @@
#include "config.h"
#include <glib/gi18n-lib.h>
+
#include "size-groups.h"
#include "window.h"
+
+#include "gtkcomboboxtext.h"
+#include "gtkframe.h"
+#include "gtklabel.h"
+#include "gtklistbox.h"
+#include "gtksizegroup.h"
+#include "gtkswitch.h"
#include "gtkwidgetprivate.h"
diff --git a/gtk/inspector/size-groups.h b/gtk/inspector/size-groups.h
index 2d4ccaa..42c2ce2 100644
--- a/gtk/inspector/size-groups.h
+++ b/gtk/inspector/size-groups.h
@@ -18,7 +18,7 @@
#ifndef _GTK_INSPECTOR_SIZE_GROUPS_H_
#define _GTK_INSPECTOR_SIZE_GROUPS_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_SIZE_GROUPS (gtk_inspector_size_groups_get_type())
#define GTK_INSPECTOR_SIZE_GROUPS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),
GTK_TYPE_INSPECTOR_SIZE_GROUPS, GtkInspectorSizeGroups))
diff --git a/gtk/inspector/style-prop-list.c b/gtk/inspector/style-prop-list.c
index f08395d..9fed77b 100644
--- a/gtk/inspector/style-prop-list.c
+++ b/gtk/inspector/style-prop-list.c
@@ -20,9 +20,15 @@
* THE SOFTWARE.
*/
+#include "config.h"
+#include <glib/gi18n-lib.h>
+
#include "style-prop-list.h"
+
#include "gtkcssproviderprivate.h"
#include "gtkcssstylepropertyprivate.h"
+#include "gtkliststore.h"
+#include "gtksettings.h"
enum
{
diff --git a/gtk/inspector/style-prop-list.h b/gtk/inspector/style-prop-list.h
index fff5454..46e604d 100644
--- a/gtk/inspector/style-prop-list.h
+++ b/gtk/inspector/style-prop-list.h
@@ -22,8 +22,7 @@
#ifndef _GTK_INSPECTOR_STYLE_PROP_LIST_H_
#define _GTK_INSPECTOR_STYLE_PROP_LIST_H_
-
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_STYLE_PROP_LIST (gtk_inspector_style_prop_list_get_type())
#define GTK_INSPECTOR_STYLE_PROP_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),
GTK_TYPE_INSPECTOR_STYLE_PROP_LIST, GtkInspectorStylePropList))
diff --git a/gtk/inspector/visual.c b/gtk/inspector/visual.c
index 4970119..a665b5b 100644
--- a/gtk/inspector/visual.c
+++ b/gtk/inspector/visual.c
@@ -17,9 +17,15 @@
#include "config.h"
#include <glib/gi18n-lib.h>
+
#include "visual.h"
+#include "gtkcomboboxtext.h"
+#include "gtkdebug.h"
#include "gtkprivate.h"
+#include "gtksettings.h"
+#include "gtkswitch.h"
+#include "gtkwindow.h"
struct _GtkInspectorVisualPrivate
{
diff --git a/gtk/inspector/visual.h b/gtk/inspector/visual.h
index 3e1077e..593be52 100644
--- a/gtk/inspector/visual.h
+++ b/gtk/inspector/visual.h
@@ -18,7 +18,7 @@
#ifndef _GTK_INSPECTOR_VISUAL_H_
#define _GTK_INSPECTOR_VISUAL_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkbox.h>
#define GTK_TYPE_INSPECTOR_VISUAL (gtk_inspector_visual_get_type())
#define GTK_INSPECTOR_VISUAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_VISUAL,
GtkInspectorVisual))
diff --git a/gtk/inspector/widget-tree.c b/gtk/inspector/widget-tree.c
index 6ecd28f..83e20f2 100644
--- a/gtk/inspector/widget-tree.c
+++ b/gtk/inspector/widget-tree.c
@@ -22,11 +22,25 @@
* THE SOFTWARE.
*/
-#include "prop-list.h"
+#include "config.h"
+#include <glib/gi18n-lib.h>
+
+#include <string.h>
+
#include "widget-tree.h"
-#include "gtkwidgetprivate.h"
+#include "prop-list.h"
+
+#include "gtkbuildable.h"
+#include "gtkbutton.h"
+#include "gtkcelllayout.h"
#include "gtkcomboboxprivate.h"
-#include <string.h>
+#include "gtkiconview.h"
+#include "gtklabel.h"
+#include "gtkmenuitem.h"
+#include "gtksettings.h"
+#include "gtktextview.h"
+#include "gtktreestore.h"
+#include "gtkwidgetprivate.h"
enum
{
diff --git a/gtk/inspector/widget-tree.h b/gtk/inspector/widget-tree.h
index 1d8aa1b..abe872b 100644
--- a/gtk/inspector/widget-tree.h
+++ b/gtk/inspector/widget-tree.h
@@ -23,9 +23,7 @@
#ifndef _GTK_INSPECTOR_WIDGET_TREE_H_
#define _GTK_INSPECTOR_WIDGET_TREE_H_
-
-#include <gtk/gtk.h>
-
+#include <gtk/gtktreeview.h>
#define GTK_TYPE_INSPECTOR_WIDGET_TREE (gtk_inspector_widget_tree_get_type())
#define GTK_INSPECTOR_WIDGET_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),
GTK_TYPE_INSPECTOR_WIDGET_TREE, GtkInspectorWidgetTree))
diff --git a/gtk/inspector/window.c b/gtk/inspector/window.c
index d97d801..8f99f10 100644
--- a/gtk/inspector/window.c
+++ b/gtk/inspector/window.c
@@ -24,7 +24,9 @@
#include "config.h"
#include <glib/gi18n-lib.h>
+
#include <stdlib.h>
+
#include "window.h"
#include "prop-list.h"
#include "classes-list.h"
diff --git a/gtk/inspector/window.h b/gtk/inspector/window.h
index 6256832..a04fb0f 100644
--- a/gtk/inspector/window.h
+++ b/gtk/inspector/window.h
@@ -24,7 +24,7 @@
#define _GTK_INSPECTOR_WINDOW_H_
-#include <gtk/gtk.h>
+#include <gtk/gtkwindow.h>
#define GTK_TYPE_INSPECTOR_WINDOW (gtk_inspector_window_get_type())
#define GTK_INSPECTOR_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_WINDOW,
GtkInspectorWindow))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]