]> Pileus Git - ~andy/gtk/commitdiff
box: Fix includes so hbox/vbox compile warning-free
authorBenjamin Otte <otte@redhat.com>
Thu, 6 Oct 2011 01:48:29 +0000 (18:48 -0700)
committerBenjamin Otte <otte@redhat.com>
Wed, 2 Nov 2011 01:31:54 +0000 (02:31 +0100)
And make sure most of the code is included before undeffing deprecated
code.

gtk/gtkboxprivate.h
gtk/gtkhbox.c
gtk/gtkvbox.c

index 9a4d463a4ca0fbe8437aa61023be34f4dd6c449e..9628d3c306f53586dee71aaf1fc19858716ba619 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef __GTK_BOX_PRIVATE_H__
 #define __GTK_BOX_PRIVATE_H__
 
+#include "gtkbox.h"
+
 G_BEGIN_DECLS
 
 
index 021fb22d6836b77b6a483431dbd29df305bd2b2b..cdfada50b49d6490bf4db87a1e1ccd6b3dd7f7cd 100644 (file)
 
 #include "config.h"
 
+#include "gtkboxprivate.h"
+#include "gtkorientable.h"
 #undef GTK_DISABLE_DEPRECATED
 #include "gtkhbox.h"
-#include "gtkorientable.h"
-#include "gtkboxprivate.h"
 
 
 /**
index 9251291f11019ebfb97d14d24337550f5392c739..e3515eb643ff75ee9b9849a9d86b0b9efe54d191 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "config.h"
 
+#include "gtkboxprivate.h"
 #include "gtkorientable.h"
 #undef GTK_DISABLE_DEPRECATED
 #include "gtkvbox.h"