From 29cdb2001c2e81da5e90c0b242793ad37b984094 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 21 Nov 2015 17:38:48 +0100 Subject: [PATCH] iconhelper: Don't include gtk.h --- gtk/gtkdnd.c | 4 ++++ gtk/gtkiconhelper.c | 2 ++ gtk/gtkiconhelperprivate.h | 5 ++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index ef49b80a79..8761f13c24 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -45,6 +45,8 @@ #include "gtkdnd.h" #include "gtkdndprivate.h" +#include "gtkgesturedrag.h" +#include "gtkgesturesingle.h" #include "gtkiconhelperprivate.h" #include "gtkicontheme.h" #include "gtkmain.h" @@ -52,7 +54,9 @@ #include "gtktooltipprivate.h" #include "gtkwindow.h" #include "gtkintl.h" +#include "gtkrender.h" #include "gtkselectionprivate.h" +#include "gtkwindowgroup.h" #include "gtkwindowprivate.h" diff --git a/gtk/gtkiconhelper.c b/gtk/gtkiconhelper.c index c1c2699095..16c541faf6 100644 --- a/gtk/gtkiconhelper.c +++ b/gtk/gtkiconhelper.c @@ -25,7 +25,9 @@ #include "gtkcssenumvalueprivate.h" #include "gtkiconhelperprivate.h" +#include "gtkrender.h" #include "gtkstylecontextprivate.h" +#include "deprecated/gtkstock.h" struct _GtkIconHelperPrivate { GtkImageType storage_type; diff --git a/gtk/gtkiconhelperprivate.h b/gtk/gtkiconhelperprivate.h index b4b2416f81..7e01d7882a 100644 --- a/gtk/gtkiconhelperprivate.h +++ b/gtk/gtkiconhelperprivate.h @@ -20,9 +20,8 @@ #ifndef __GTK_ICON_HELPER_H__ #define __GTK_ICON_HELPER_H__ -#include - -#include +#include "gtk/gtkimage.h" +#include "gtk/gtktypes.h" G_BEGIN_DECLS