From 74a1a7a675fb265933a11b7cd01557caa72bf7a1 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Sat, 28 May 2016 18:11:24 -0400 Subject: GTK3: caja-location-bar.c use GtkStyleContext Port one variable in style_set_handler to GtkStyleContext in GTK3 builds --- src/caja-location-bar.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/caja-location-bar.c b/src/caja-location-bar.c index 440e742f..e72924e5 100644 --- a/src/caja-location-bar.c +++ b/src/caja-location-bar.c @@ -246,7 +246,11 @@ drag_data_get_callback (GtkWidget *widget, we are imitating here. */ static void +#if GTK_CHECK_VERSION (3, 0, 0) +style_set_handler (GtkWidget *widget, GtkStyleContext *previous_style) +#else style_set_handler (GtkWidget *widget, GtkStyle *previous_style) +#endif { PangoLayout *layout; int width, width2; -- cgit v1.2.1