summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
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);