From 64cc5f2eaaaf1f27a41f900113edde77ceb1210d Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 31 May 2016 18:08:45 +0300 Subject: GTK+2: fix build errors after last commits --- src/caja-information-panel.c | 4 ++++ src/caja-pathbar.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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, -- cgit v1.2.1