box: Fix includes so hbox/vbox compile warning-free

And make sure most of the code is included before undeffing deprecated
code.
This commit is contained in:
Benjamin Otte 2011-10-05 18:48:29 -07:00
parent 8669eb49f5
commit 4f9fc252da
3 changed files with 5 additions and 2 deletions

View File

@ -19,6 +19,8 @@
#ifndef __GTK_BOX_PRIVATE_H__
#define __GTK_BOX_PRIVATE_H__
#include "gtkbox.h"
G_BEGIN_DECLS

View File

@ -26,10 +26,10 @@
#include "config.h"
#include "gtkboxprivate.h"
#include "gtkorientable.h"
#undef GTK_DISABLE_DEPRECATED
#include "gtkhbox.h"
#include "gtkorientable.h"
#include "gtkboxprivate.h"
/**

View File

@ -26,6 +26,7 @@
#include "config.h"
#include "gtkboxprivate.h"
#include "gtkorientable.h"
#undef GTK_DISABLE_DEPRECATED
#include "gtkvbox.h"