[gtk+] iconhelper: Don't include gtk.h
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] iconhelper: Don't include gtk.h
- Date: Wed, 25 Nov 2015 15:34:00 +0000 (UTC)
commit 29cdb2001c2e81da5e90c0b242793ad37b984094
Author: Benjamin Otte <otte redhat com>
Date: Sat Nov 21 17:38:48 2015 +0100
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 ef49b80..8761f13 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 c1c2699..16c541f 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 b4b2416..7e01d78 100644
--- a/gtk/gtkiconhelperprivate.h
+++ b/gtk/gtkiconhelperprivate.h
@@ -20,9 +20,8 @@
#ifndef __GTK_ICON_HELPER_H__
#define __GTK_ICON_HELPER_H__
-#include <glib-object.h>
-
-#include <gtk/gtk.h>
+#include "gtk/gtkimage.h"
+#include "gtk/gtktypes.h"
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]