summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/caja-zoom-control.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caja-zoom-control.c b/src/caja-zoom-control.c
index 45424303..af604c9d 100644
--- a/src/caja-zoom-control.c
+++ b/src/caja-zoom-control.c
@@ -289,7 +289,11 @@ set_label_size (CajaZoomControl *zoom_control)
static void
label_style_set_callback (GtkWidget *label,
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GtkStyleContext *style,
+#else
GtkStyle *style,
+#endif
gpointer user_data)
{
set_label_size (CAJA_ZOOM_CONTROL (user_data));