[gtk+] Drop some unnecessary includes



commit 2f1fa7cdc3735b13561f27345f43ed3ac6883d8e
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 19 22:32:23 2013 -0400

    Drop some unnecessary includes
    
    Drop includes of deprecated headers where they are
    no longer needed.

 gtk/gtkaboutdialog.c          |    1 -
 gtk/gtkappchooserdialog.c     |    1 -
 gtk/gtkbutton.c               |    1 -
 gtk/gtkdnd.c                  |    2 --
 gtk/gtkentry.c                |    3 ---
 gtk/gtklabel.c                |    1 -
 gtk/gtklinkbutton.c           |    1 -
 gtk/gtkmessagedialog.c        |    1 -
 gtk/gtkmountoperation.c       |    2 +-
 gtk/gtkpagesetupunixdialog.c  |    1 -
 gtk/gtkpathbar.c              |    1 -
 gtk/gtkplacessidebar.c        |    1 -
 gtk/gtkprintunixdialog.c      |    1 -
 gtk/gtkrecentchooserdefault.c |    2 --
 gtk/gtkrecentchoosermenu.c    |    2 --
 gtk/gtkrecentmanager.c        |    1 -
 gtk/gtkscale.c                |    1 -
 gtk/gtkspinbutton.c           |    1 -
 gtk/gtkstatusicon.c           |    1 -
 gtk/gtkstylecontext.c         |    1 -
 gtk/gtktextview.c             |    1 -
 gtk/gtktoolbar.c              |    1 -
 gtk/gtktoolbutton.c           |    1 -
 gtk/gtkwidget.c               |    1 -
 gtk/gtkwindow.c               |    3 ---
 25 files changed, 1 insertions(+), 32 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index cb28cc5..1d99c86 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 fc7bb28..b850451 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 9c552bf..7396cb8 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 fb8beba..c3f842c 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 2aea6bd..7e1bb3a 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 7f030e0..4d13cac 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 56b4abf..461e37e 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 0ce697d..25e9d6e 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 5427ff2..f64d7a1 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 0402859..fff76e4 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 c143e93..02083d9 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 63b66f4..5a36d13 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 ed9b2ee..ef00d59 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 20f1fbc..22eec26 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 65fd1a5..f6afd2b 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 b03b12d..7b8bb1a 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 1e951b6..6433a57 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 95ea50f..537a156 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 8fccfb3..5d39db1 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 5807241..5f8b8ff 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 0f1db37..bbfa166 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 b02663b..ce78fd2 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 dee9f94..7acfc9f 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 347f8b3..402a991 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 1197651..fbc2313 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


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