From a377f95aacd2ca5956d71d0d02c2d2542cdc70e4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 4 Oct 2022 21:36:21 -0400 Subject: [PATCH] Drop unused includes This gets rid of treeview includes in a number of places. --- gtk/gtkentry.c | 2 -- gtk/inspector/actions.c | 1 - gtk/inspector/misc-info.c | 1 - gtk/inspector/object-tree.c | 1 - gtk/inspector/prop-list.c | 5 ----- gtk/inspector/resource-list.c | 2 -- 6 files changed, 12 deletions(-) diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 51a8efe39e..3c2febf3c0 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -58,8 +58,6 @@ #include "gtktexthandleprivate.h" #include "gtktextutil.h" #include "gtktooltip.h" -#include "gtktreeselection.h" -#include "gtktreeview.h" #include "gtktypebuiltins.h" #include "gtkwidgetprivate.h" #include "gtkwindow.h" diff --git a/gtk/inspector/actions.c b/gtk/inspector/actions.c index 99ec6fffed..d857add4c8 100644 --- a/gtk/inspector/actions.c +++ b/gtk/inspector/actions.c @@ -24,7 +24,6 @@ #include "gtkapplication.h" #include "gtkapplicationwindow.h" -#include "gtktreeview.h" #include "gtkliststore.h" #include "gtkwidgetprivate.h" #include "gtkactionmuxerprivate.h" diff --git a/gtk/inspector/misc-info.c b/gtk/inspector/misc-info.c index ff028d13d4..d799912809 100644 --- a/gtk/inspector/misc-info.c +++ b/gtk/inspector/misc-info.c @@ -25,7 +25,6 @@ #include "type-info.h" #include "gtktypebuiltins.h" -#include "gtktreeview.h" #include "gtkbuildable.h" #include "gtklabel.h" #include "gtkframe.h" diff --git a/gtk/inspector/object-tree.c b/gtk/inspector/object-tree.c index 1c5f022925..4986ee5518 100644 --- a/gtk/inspector/object-tree.c +++ b/gtk/inspector/object-tree.c @@ -54,7 +54,6 @@ #include "gtktreelistmodel.h" #include "gtktreeview.h" #include "gtktreeselection.h" -#include "gtktreestore.h" #include "gtktreemodelsort.h" #include "gtktreemodelfilter.h" #include "gtkwidgetprivate.h" diff --git a/gtk/inspector/prop-list.c b/gtk/inspector/prop-list.c index 343aee5558..b23f3d9812 100644 --- a/gtk/inspector/prop-list.c +++ b/gtk/inspector/prop-list.c @@ -28,9 +28,6 @@ #include "prop-editor.h" -#include "gtkcelllayout.h" -#include "gtktreeview.h" -#include "gtktreeselection.h" #include "gtkpopover.h" #include "gtksearchentry.h" #include "gtklabel.h" @@ -38,10 +35,8 @@ #include "gtkstack.h" #include "gtkeventcontrollerkey.h" #include "gtklayoutmanager.h" -#include "gtklistbox.h" #include "gtksizegroup.h" #include "gtkroot.h" -#include "gtkgestureclick.h" #include "prop-holder.h" #include "window.h" diff --git a/gtk/inspector/resource-list.c b/gtk/inspector/resource-list.c index 3c0dc2a38e..7cef2e600c 100644 --- a/gtk/inspector/resource-list.c +++ b/gtk/inspector/resource-list.c @@ -25,8 +25,6 @@ #include "gtksearchentry.h" #include "gtkstack.h" #include "gtktextbuffer.h" -#include "gtktreeselection.h" -#include "gtktreestore.h" #include "gtkeventcontrollerkey.h" #include "gtkpicture.h" #include "gtkmediafile.h"