[gtk+/touch-selections] Fix includes



commit 56fb67fe5fc96324830687f36de34cbe9c2d3fec
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jan 17 21:49:24 2013 -0500

    Fix includes
    
    gtkbubblewindow.h was including gtk.h, which in turn included
    gtkselectionwindow.h, leading to build failure.

 gtk/gtkbubblewindow.c    |    2 ++
 gtk/gtkbubblewindow.h    |    2 +-
 gtk/gtkselectionwindow.c |    4 ++++
 3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkbubblewindow.c b/gtk/gtkbubblewindow.c
index 08c735d..2200d8f 100644
--- a/gtk/gtkbubblewindow.c
+++ b/gtk/gtkbubblewindow.c
@@ -40,6 +40,8 @@
 #include <gdk/gdk.h>
 #include <cairo-gobject.h>
 #include "gtkbubblewindow.h"
+#include "gtktypebuiltins.h"
+#include "gtkmain.h"
 #include "gtkprivate.h"
 #include "gtkintl.h"
 
diff --git a/gtk/gtkbubblewindow.h b/gtk/gtkbubblewindow.h
index 7cf1fa0..3d2eceb 100644
--- a/gtk/gtkbubblewindow.h
+++ b/gtk/gtkbubblewindow.h
@@ -22,7 +22,7 @@
 #error "Only <gtk/gtk.h> can be included directly."
 #endif
 
-#include <gtk/gtk.h>
+#include <gtk/gtkwindow.h>
 
 G_BEGIN_DECLS
 
diff --git a/gtk/gtkselectionwindow.c b/gtk/gtkselectionwindow.c
index 62d2a5a..1e18f43 100644
--- a/gtk/gtkselectionwindow.c
+++ b/gtk/gtkselectionwindow.c
@@ -28,6 +28,10 @@
 
 #include "config.h"
 #include "gtkselectionwindow.h"
+#include "gtkactiongroup.h"
+#include "gtkuimanager.h"
+#include "gtkclipboard.h"
+#include "gtktoolbar.h"
 #include "gtkprivate.h"
 #include "gtkintl.h"
 



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