summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-07-19 22:32:23 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-07-19 22:32:23 -0400
commit2f1fa7cdc3735b13561f27345f43ed3ac6883d8e (patch)
treee583c020bae18bc7a070f13e3f12e6a8434c3e17 /gtk
parent0aa57d26b53a39d0f95bc42d34abd70f4f32406b (diff)
downloadgtk+-2f1fa7cdc3735b13561f27345f43ed3ac6883d8e.tar.gz
Drop some unnecessary includes
Drop includes of deprecated headers where they are no longer needed.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkaboutdialog.c1
-rw-r--r--gtk/gtkappchooserdialog.c1
-rw-r--r--gtk/gtkbutton.c1
-rw-r--r--gtk/gtkdnd.c2
-rw-r--r--gtk/gtkentry.c3
-rw-r--r--gtk/gtklabel.c1
-rw-r--r--gtk/gtklinkbutton.c1
-rw-r--r--gtk/gtkmessagedialog.c1
-rw-r--r--gtk/gtkmountoperation.c2
-rw-r--r--gtk/gtkpagesetupunixdialog.c1
-rw-r--r--gtk/gtkpathbar.c1
-rw-r--r--gtk/gtkplacessidebar.c1
-rw-r--r--gtk/gtkprintunixdialog.c1
-rw-r--r--gtk/gtkrecentchooserdefault.c2
-rw-r--r--gtk/gtkrecentchoosermenu.c2
-rw-r--r--gtk/gtkrecentmanager.c1
-rw-r--r--gtk/gtkscale.c1
-rw-r--r--gtk/gtkspinbutton.c1
-rw-r--r--gtk/gtkstatusicon.c1
-rw-r--r--gtk/gtkstylecontext.c1
-rw-r--r--gtk/gtktextview.c1
-rw-r--r--gtk/gtktoolbar.c1
-rw-r--r--gtk/gtktoolbutton.c1
-rw-r--r--gtk/gtkwidget.c1
-rw-r--r--gtk/gtkwindow.c3
25 files changed, 1 insertions, 32 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index cb28cc5256..1d99c8627a 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -44,7 +44,6 @@
#include "gtkorientable.h"
#include "gtkscrolledwindow.h"
#include "gtktextview.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtkshow.h"
#include "gtkmain.h"
#include "gtkmessagedialog.h"
diff --git a/gtk/gtkappchooserdialog.c b/gtk/gtkappchooserdialog.c
index fc7bb28e72..b8504516f7 100644
--- a/gtk/gtkappchooserdialog.c
+++ b/gtk/gtkappchooserdialog.c
@@ -52,7 +52,6 @@
#include "gtkbbox.h"
#include "gtkbutton.h"
#include "gtkmenuitem.h"
-#include "deprecated/gtkstock.h"
#include <string.h>
#include <glib/gi18n-lib.h>
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index 9c552bfd3f..7396cb8add 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -49,7 +49,6 @@
#include "gtkimage.h"
#include "gtkbox.h"
#include "deprecated/gtkstock.h"
-#include "deprecated/gtkiconfactory.h"
#include "deprecated/gtkactivatable.h"
#include "gtksizerequest.h"
#include "gtktypebuiltins.h"
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index fb8beba5ba..c3f842c05b 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -40,13 +40,11 @@
#endif
#include "gtkdnd.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtkiconhelperprivate.h"
#include "gtkicontheme.h"
#include "gtkinvisible.h"
#include "gtkmain.h"
#include "gtkplug.h"
-#include "deprecated/gtkstock.h"
#include "gtktooltip.h"
#include "gtkwindow.h"
#include "gtkintl.h"
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 2aea6bde66..7e1bb3aadf 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -38,7 +38,6 @@
#include "gtkentry.h"
#include "gtkentrybuffer.h"
#include "gtkiconhelperprivate.h"
-#include "deprecated/gtkimagemenuitem.h"
#include "gtkimcontextsimple.h"
#include "gtkimmulticontext.h"
#include "gtkintl.h"
@@ -51,7 +50,6 @@
#include "gtkselection.h"
#include "gtksettings.h"
#include "gtkspinbutton.h"
-#include "deprecated/gtkstock.h"
#include "gtktextutil.h"
#include "gtkwindow.h"
#include "gtktreeview.h"
@@ -61,7 +59,6 @@
#include "gtkentryprivate.h"
#include "gtkcelllayout.h"
#include "gtktooltip.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtkicontheme.h"
#include "gtkwidgetprivate.h"
#include "gtkstylecontextprivate.h"
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 7f030e0721..4d13cacd00 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -34,7 +34,6 @@
#include "gtkpango.h"
#include "gtkwindow.h"
#include "gtkclipboard.h"
-#include "deprecated/gtkimagemenuitem.h"
#include "gtkintl.h"
#include "gtkseparatormenuitem.h"
#include "gtktextutil.h"
diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c
index 56b4abf126..461e37e814 100644
--- a/gtk/gtklinkbutton.c
+++ b/gtk/gtklinkbutton.c
@@ -52,7 +52,6 @@
#include "gtkclipboard.h"
#include "gtkdnd.h"
-#include "deprecated/gtkimagemenuitem.h"
#include "gtklabel.h"
#include "gtkmain.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c
index 0ce697de3f..25e9d6eb53 100644
--- a/gtk/gtkmessagedialog.c
+++ b/gtk/gtkmessagedialog.c
@@ -33,7 +33,6 @@
#include "gtklabel.h"
#include "gtkbox.h"
#include "gtkimage.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtkintl.h"
#include "gtkprivate.h"
#include "gtktypebuiltins.h"
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c
index 5427ff2e05..f64d7a1439 100644
--- a/gtk/gtkmountoperation.c
+++ b/gtk/gtkmountoperation.c
@@ -46,7 +46,7 @@
#include "gtkcellrendererpixbuf.h"
#include "gtkscrolledwindow.h"
#include "gtkicontheme.h"
-#include "deprecated/gtkimagemenuitem.h"
+#include "gtkmenuitem.h"
#include "gtkmain.h"
#include <glib/gprintf.h>
diff --git a/gtk/gtkpagesetupunixdialog.c b/gtk/gtkpagesetupunixdialog.c
index 040285923a..fff76e4ed9 100644
--- a/gtk/gtkpagesetupunixdialog.c
+++ b/gtk/gtkpagesetupunixdialog.c
@@ -25,7 +25,6 @@
#include "gtkprivate.h"
#include "gtkliststore.h"
-#include "deprecated/gtkstock.h"
#include "gtktreeviewcolumn.h"
#include "gtktreeselection.h"
#include "gtktreemodel.h"
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index c143e93c82..02083d9db0 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -25,7 +25,6 @@
#include "gtkarrow.h"
#include "gtkbox.h"
#include "gtkdnd.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtkicontheme.h"
#include "gtkimage.h"
#include "gtkintl.h"
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 63b66f43a9..5a36d13d3d 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -56,7 +56,6 @@
#include "gtkcellrendererpixbuf.h"
#include "gtkfilechooserprivate.h"
#include "gtkicontheme.h"
-#include "deprecated/gtkimagemenuitem.h"
#include "gtkintl.h"
#include "gtkmain.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index ed9b2eef6a..ef00d59bc6 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -36,7 +36,6 @@
#include "gtkspinbutton.h"
#include "gtkcellrendererpixbuf.h"
#include "gtkcellrenderertext.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtkimage.h"
#include "gtktreeselection.h"
#include "gtknotebook.h"
diff --git a/gtk/gtkrecentchooserdefault.c b/gtk/gtkrecentchooserdefault.c
index 20f1fbc856..22eec26d87 100644
--- a/gtk/gtkrecentchooserdefault.c
+++ b/gtk/gtkrecentchooserdefault.c
@@ -28,7 +28,6 @@
#endif
#include "gtkicontheme.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtksettings.h"
#include "gtktreeview.h"
#include "gtkliststore.h"
@@ -46,7 +45,6 @@
#include "gtkbox.h"
#include "gtkpaned.h"
#include "gtkimage.h"
-#include "deprecated/gtkimagemenuitem.h"
#include "gtkintl.h"
#include "gtklabel.h"
#include "gtkmenuitem.h"
diff --git a/gtk/gtkrecentchoosermenu.c b/gtk/gtkrecentchoosermenu.c
index 65fd1a5192..f6afd2b9c6 100644
--- a/gtk/gtkrecentchoosermenu.c
+++ b/gtk/gtkrecentchoosermenu.c
@@ -27,9 +27,7 @@
#include "gtkrecentchooserprivate.h"
#include "gtkrecentchoosermenu.h"
-#include "deprecated/gtkstock.h"
#include "gtkicontheme.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtkintl.h"
#include "gtksettings.h"
#include "gtkmenushell.h"
diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c
index b03b12df28..7b8bb1acce 100644
--- a/gtk/gtkrecentmanager.c
+++ b/gtk/gtkrecentmanager.c
@@ -103,7 +103,6 @@
#include "gtkrecentmanager.h"
#include "gtkintl.h"
#include "gtksettings.h"
-#include "deprecated/gtkstock.h"
#include "gtkicontheme.h"
#include "gtktypebuiltins.h"
#include "gtkprivate.h"
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index 1e951b6598..6433a57ca7 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -34,7 +34,6 @@
#include "gtkbindings.h"
#include "gtkbuildable.h"
#include "gtkbuilderprivate.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtkicontheme.h"
#include "gtkintl.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index 95ea50f186..537a1565f9 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -46,7 +46,6 @@
#include "gtkorientableprivate.h"
#include "gtkprivate.h"
#include "gtksettings.h"
-#include "deprecated/gtkstock.h"
#include "gtktypebuiltins.h"
#include "gtkwidgetpath.h"
#include "gtkwidgetprivate.h"
diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c
index 8fccfb351f..5d39db1c41 100644
--- a/gtk/gtkstatusicon.c
+++ b/gtk/gtkstatusicon.c
@@ -33,7 +33,6 @@
#include "gtkstatusicon.h"
#include "gtkintl.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtkiconhelperprivate.h"
#include "gtkmain.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 5807241de9..5f8b8ff1b8 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -37,7 +37,6 @@
#include "gtkwidget.h"
#include "gtkwindow.h"
#include "gtkprivate.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtkwidgetpath.h"
#include "gtkwidgetprivate.h"
#include "gtkstylecascadeprivate.h"
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 0f1db3790c..bbfa166e43 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -30,7 +30,6 @@
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
#include "gtkbindings.h"
#include "gtkdnd.h"
-#include "deprecated/gtkimagemenuitem.h"
#include "gtkintl.h"
#include "gtkmain.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index b02663b8eb..ce78fd205b 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -49,7 +49,6 @@
#include "gtkradiotoolbutton.h"
#include "gtkseparatormenuitem.h"
#include "gtkseparatortoolitem.h"
-#include "deprecated/gtkstock.h"
#include "gtktoolshell.h"
#include "gtkbox.h"
#include "gtkprivate.h"
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c
index dee9f946b7..7acfc9f00d 100644
--- a/gtk/gtktoolbutton.c
+++ b/gtk/gtktoolbutton.c
@@ -21,7 +21,6 @@
#include "config.h"
#include "gtktoolbutton.h"
#include "gtkbutton.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtkimage.h"
#include "deprecated/gtkimagemenuitem.h"
#include "gtklabel.h"
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 347f8b3b1e..402a991b86 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -38,7 +38,6 @@
#include "gtkclipboard.h"
#include "gtkcssstylepropertyprivate.h"
#include "gtkcssnumbervalueprivate.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtkintl.h"
#include "gtkmarshalers.h"
#include "gtkselectionprivate.h"
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 11976519df..fbc23136ed 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -40,7 +40,6 @@
#include "gtkmain.h"
#include "gtkmnemonichash.h"
#include "gtkmenubar.h"
-#include "deprecated/gtkiconfactory.h"
#include "gtkicontheme.h"
#include "gtkmarshalers.h"
#include "gtkplug.h"
@@ -55,8 +54,6 @@
#include "gtkheaderbar.h"
#include "a11y/gtkwindowaccessible.h"
-#include "deprecated/gtkstyle.h"
-
#ifdef GDK_WINDOWING_X11
#include "x11/gdkx.h"
#endif