summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/caja-information-panel.c4
-rw-r--r--src/caja-pathbar.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/caja-information-panel.c b/src/caja-information-panel.c
index ec4e6964..fa4632d0 100644
--- a/src/caja-information-panel.c
+++ b/src/caja-information-panel.c
@@ -210,7 +210,11 @@ caja_information_panel_class_init (CajaInformationPanelClass *klass)
widget_class->drag_data_received = caja_information_panel_drag_data_received;
widget_class->button_press_event = caja_information_panel_press_event;
+#if GTK_CHECK_VERSION (3, 0, 0)
widget_class->style_updated = caja_information_panel_style_updated;
+#else
+ widget_class->style_set = caja_information_panel_style_set;
+#endif
/* add the "location changed" signal */
signals[LOCATION_CHANGED] = g_signal_new
diff --git a/src/caja-pathbar.c b/src/caja-pathbar.c
index 82d4e31d..e0298c03 100644
--- a/src/caja-pathbar.c
+++ b/src/caja-pathbar.c
@@ -143,7 +143,7 @@ static void caja_path_bar_state_changed (GtkWidget *widget,
#if GTK_CHECK_VERSION (3, 0, 0)
static void caja_path_bar_style_updated (GtkWidget *widget);
#else
-static void caja_path_bar_style_set (GtkWidget *widget),
+static void caja_path_bar_style_set (GtkWidget *widget,
GtkStyle *previous_style);
#endif
static void caja_path_bar_screen_changed (GtkWidget *widget,