mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 13:40:31 +00:00
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:
parent
8669eb49f5
commit
4f9fc252da
@ -19,6 +19,8 @@
|
||||
#ifndef __GTK_BOX_PRIVATE_H__
|
||||
#define __GTK_BOX_PRIVATE_H__
|
||||
|
||||
#include "gtkbox.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
||||
/**
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "gtkboxprivate.h"
|
||||
#include "gtkorientable.h"
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
#include "gtkvbox.h"
|
||||
|
Loading…
Reference in New Issue
Block a user