summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/caja-places-sidebar.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/caja-places-sidebar.c b/src/caja-places-sidebar.c
index 0fdeb9e3..d4af834f 100644
--- a/src/caja-places-sidebar.c
+++ b/src/caja-places-sidebar.c
@@ -165,8 +165,14 @@ static void open_selected_bookmark (CajaPlacesSidebar
GtkTreeModel *model,
GtkTreePath *path,
CajaWindowOpenFlags flags);
+
+#if GTK_CHECK_VERSION (3, 0, 0)
+static void caja_places_sidebar_style_set (GtkWidget *widget,
+ GtkStyleContext *previous_style);
+#else
static void caja_places_sidebar_style_set (GtkWidget *widget,
GtkStyle *previous_style);
+#endif
static gboolean eject_or_unmount_bookmark (CajaPlacesSidebar *sidebar,
GtkTreePath *path);
static gboolean eject_or_unmount_selection (CajaPlacesSidebar *sidebar);
@@ -3477,7 +3483,11 @@ caja_places_sidebar_set_parent_window (CajaPlacesSidebar *sidebar,
static void
caja_places_sidebar_style_set (GtkWidget *widget,
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GtkStyleContext *previous_style)
+#else
GtkStyle *previous_style)
+#endif
{
CajaPlacesSidebar *sidebar;