[gtk+/composite-templates] Straigthen includes in gtkmenubutton.[hc]



commit 07641f5a0c87778ff04b27c54c268d7d0042380d
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Sep 24 00:01:39 2012 -0400

    Straigthen includes in gtkmenubutton.[hc]
    
    Don't include gtk.h, but just include whats needed.

 gtk/gtkmenubutton.c |    3 +++
 gtk/gtkmenubutton.h |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index 051b9da..168ac9b 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -145,6 +145,9 @@
 #include "gtkmenubutton.h"
 #include "gtkmenubuttonprivate.h"
 #include "gtkarrow.h"
+#include "gtktypebuiltins.h"
+#include "gtkwindow.h"
+#include "gtkmain.h"
 
 #include "gtkprivate.h"
 #include "gtkintl.h"
diff --git a/gtk/gtkmenubutton.h b/gtk/gtkmenubutton.h
index f8cb55f..24fc5d8 100644
--- a/gtk/gtkmenubutton.h
+++ b/gtk/gtkmenubutton.h
@@ -25,7 +25,8 @@
 #ifndef __GTK_MENU_BUTTON_H__
 #define __GTK_MENU_BUTTON_H__
 
-#include <gtk/gtk.h>
+#include <gtk/gtktogglebutton.h>
+#include <gtk/gtkmenu.h>
 
 G_BEGIN_DECLS
 



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