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:
@ -19,6 +19,8 @@
|
|||||||
#ifndef __GTK_BOX_PRIVATE_H__
|
#ifndef __GTK_BOX_PRIVATE_H__
|
||||||
#define __GTK_BOX_PRIVATE_H__
|
#define __GTK_BOX_PRIVATE_H__
|
||||||
|
|
||||||
|
#include "gtkbox.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -26,10 +26,10 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#include "gtkboxprivate.h"
|
||||||
|
#include "gtkorientable.h"
|
||||||
#undef GTK_DISABLE_DEPRECATED
|
#undef GTK_DISABLE_DEPRECATED
|
||||||
#include "gtkhbox.h"
|
#include "gtkhbox.h"
|
||||||
#include "gtkorientable.h"
|
|
||||||
#include "gtkboxprivate.h"
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#include "gtkboxprivate.h"
|
||||||
#include "gtkorientable.h"
|
#include "gtkorientable.h"
|
||||||
#undef GTK_DISABLE_DEPRECATED
|
#undef GTK_DISABLE_DEPRECATED
|
||||||
#include "gtkvbox.h"
|
#include "gtkvbox.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user