summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-19 01:29:48 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-19 01:29:48 +0100
commit54820f4200c190318ed1213d12ce585b9b422619 (patch)
tree107bd89607c818652cac8df3cb1c81deaac95891 /libcaja-private
parent1ff346876afd37a957aa490be25bdd2fd90e4773 (diff)
downloadcaja-54820f4200c190318ed1213d12ce585b9b422619.tar.bz2
caja-54820f4200c190318ed1213d12ce585b9b422619.tar.xz
GTK: some missing GTK_TYPE_{H/V}BOX adjustments
this completes https://github.com/mate-desktop/caja/commit/cf39567
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-keep-last-vertical-box.h10
1 files changed, 9 insertions, 1 deletions
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);