Define GtkV/HBox types to allow build with GTK+3.2
This commit is contained in:
parent
8021df8646
commit
1dc6e23b9e
1 changed files with 9 additions and 0 deletions
|
@ -6,6 +6,15 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
#if GTK_CHECK_VERSION (3, 2, 0)
|
||||||
|
#define GTK_TYPE_VBOX GTK_TYPE_BOX
|
||||||
|
#define GtkVBox GtkBox
|
||||||
|
#define GtkVBoxClass GtkBoxClass
|
||||||
|
#define GTK_TYPE_HBOX GTK_TYPE_BOX
|
||||||
|
#define GtkHBox GtkBox
|
||||||
|
#define GtkHBoxClass GtkBoxClass
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !GLIB_CHECK_VERSION (2, 32, 0)
|
#if !GLIB_CHECK_VERSION (2, 32, 0)
|
||||||
#define G_SOURCE_REMOVE FALSE
|
#define G_SOURCE_REMOVE FALSE
|
||||||
#define G_SOURCE_CONTINUE TRUE
|
#define G_SOURCE_CONTINUE TRUE
|
||||||
|
|
Loading…
Reference in a new issue