summaryrefslogtreecommitdiff
path: root/src/caja-information-panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-information-panel.c')
-rw-r--r--src/caja-information-panel.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/caja-information-panel.c b/src/caja-information-panel.c
index fed6e1d1..c90e6b76 100644
--- a/src/caja-information-panel.c
+++ b/src/caja-information-panel.c
@@ -81,8 +81,13 @@ static void caja_information_panel_drag_data_received (GtkWidget
guint info,
guint time);
static void caja_information_panel_read_defaults (CajaInformationPanel *information_panel);
+#if GTK_CHECK_VERSION (3, 0, 0)
+static void caja_information_panel_style_set (GtkWidget *widget,
+ GtkStyleContext *previous_style);
+#else
static void caja_information_panel_style_set (GtkWidget *widget,
GtkStyle *previous_style);
+#endif
static void caja_information_panel_theme_changed (GSettings *settings,
const gchar *key,
gpointer user_data);
@@ -1174,7 +1179,11 @@ title_changed_callback (CajaWindowInfo *window,
/* ::style_set handler for the information_panel */
static void
+#if GTK_CHECK_VERSION (3, 0, 0)
+caja_information_panel_style_set (GtkWidget *widget, GtkStyleContext *previous_style)
+#else
caja_information_panel_style_set (GtkWidget *widget, GtkStyle *previous_style)
+#endif
{
CajaInformationPanel *information_panel;