summaryrefslogtreecommitdiff
path: root/src/caja-zoom-control.h
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 /src/caja-zoom-control.h
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 'src/caja-zoom-control.h')
-rw-r--r--src/caja-zoom-control.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/caja-zoom-control.h b/src/caja-zoom-control.h
index 623add8a..fb72d3c8 100644
--- a/src/caja-zoom-control.h
+++ b/src/caja-zoom-control.h
@@ -49,13 +49,21 @@ typedef struct CajaZoomControlDetails CajaZoomControlDetails;
struct CajaZoomControl
{
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GtkBox parent;
+#else
GtkHBox parent;
+#endif
CajaZoomControlDetails *details;
};
struct CajaZoomControlClass
{
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GtkBoxClass parent_class;
+#else
GtkHBoxClass parent_class;
+#endif
void (*zoom_in) (CajaZoomControl *control);
void (*zoom_out) (CajaZoomControl *control);