diff options
author | Christian Dywan <christian@twotoasts.de> | 2011-11-19 21:35:56 +0100 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2011-11-19 21:35:56 +0100 |
commit | 70f8092c71978aecc6cb5824dc32de301107422b (patch) | |
tree | d9dc799e7099a257e9c457b88992c5a0d6269f2f /katze/gtk3-compat.h | |
parent | 4c4a9762bc3ad67cbd5b0a915a59f2aa1019d761 (diff) | |
download | midori-70f8092c71978aecc6cb5824dc32de301107422b.tar.gz |
Define GtkV/HBox types to allow build with GTK+3.2
Diffstat (limited to 'katze/gtk3-compat.h')
-rw-r--r-- | katze/gtk3-compat.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/katze/gtk3-compat.h b/katze/gtk3-compat.h index a59ff936..70a811f7 100644 --- a/katze/gtk3-compat.h +++ b/katze/gtk3-compat.h @@ -6,6 +6,15 @@ 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) #define G_SOURCE_REMOVE FALSE #define G_SOURCE_CONTINUE TRUE |