summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/caja-location-bar.c4
1 files changed, 4 insertions, 0 deletions
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;