summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-05-28 18:11:24 -0400
committerlukefromdc <[email protected]>2016-05-28 18:11:24 -0400
commit74a1a7a675fb265933a11b7cd01557caa72bf7a1 (patch)
treef4e89dcb192e709d917060b6b885da2d1cdda3b1 /src
parent9f4ab08ded1b6a3ae4680c021fabd293fcf48cee (diff)
downloadcaja-74a1a7a675fb265933a11b7cd01557caa72bf7a1.tar.bz2
caja-74a1a7a675fb265933a11b7cd01557caa72bf7a1.tar.xz
GTK3: caja-location-bar.c use GtkStyleContext
Port one variable in style_set_handler to GtkStyleContext in GTK3 builds
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;