From 54820f4200c190318ed1213d12ce585b9b422619 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Tue, 19 Jan 2016 01:29:48 +0100 Subject: GTK: some missing GTK_TYPE_{H/V}BOX adjustments this completes https://github.com/mate-desktop/caja/commit/cf39567 --- libcaja-private/caja-keep-last-vertical-box.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'libcaja-private') diff --git a/libcaja-private/caja-keep-last-vertical-box.h b/libcaja-private/caja-keep-last-vertical-box.h index d7955786..7492240a 100644 --- a/libcaja-private/caja-keep-last-vertical-box.h +++ b/libcaja-private/caja-keep-last-vertical-box.h @@ -45,12 +45,20 @@ typedef struct CajaKeepLastVerticalBoxClass CajaKeepLastVerticalBoxClass; struct CajaKeepLastVerticalBox { - GtkVBox vbox; +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBox parent; +#else + GtkVBox parent; +#endif }; struct CajaKeepLastVerticalBoxClass { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBoxClass parent_class; +#else GtkVBoxClass parent_class; +#endif }; GType caja_keep_last_vertical_box_get_type (void); -- cgit v1.2.1