diff options
Diffstat (limited to 'src/eom-sidebar.c')
-rw-r--r-- | src/eom-sidebar.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eom-sidebar.c b/src/eom-sidebar.c index d8a479c..85a1b2f 100644 --- a/src/eom-sidebar.c +++ b/src/eom-sidebar.c @@ -69,6 +69,11 @@ G_DEFINE_TYPE (EomSidebar, eom_sidebar, GTK_TYPE_VBOX) #define EOM_SIDEBAR_GET_PRIVATE(object) \ (G_TYPE_INSTANCE_GET_PRIVATE ((object), EOM_TYPE_SIDEBAR, EomSidebarPrivate)) +#if GTK_CHECK_VERSION (3, 2, 0) +#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y) +#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y) +#endif + static void #if GTK_CHECK_VERSION(3, 0, 0) eom_sidebar_destroy (GtkWidget *object) |