summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-05-28 18:22:05 -0400
committerlukefromdc <[email protected]>2016-05-28 18:22:05 -0400
commit469c6d88a8a37bf09b9b75d610f53cdf90629168 (patch)
tree5e5b5f53c197f4917b1205fd7c87d7fbc6702aff /src
parenta540850b3f69e384dd525d5f767541cf7d186454 (diff)
downloadcaja-469c6d88a8a37bf09b9b75d610f53cdf90629168.tar.bz2
caja-469c6d88a8a37bf09b9b75d610f53cdf90629168.tar.xz
GTK3:caja-zoom-control.c GtkStyle>GtkStyleContext
caja-zoom-control.c: label_style_set_callback to GtkStyleContext in GTK3 builds
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));