summaryrefslogtreecommitdiff
path: root/src/caja-zoom-control.h
diff options
context:
space:
mode:
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);