summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-05-31 18:08:45 +0300
committermonsta <[email protected]>2016-05-31 18:08:45 +0300
commit64cc5f2eaaaf1f27a41f900113edde77ceb1210d (patch)
treea5ad8389d385fd4d15652d7407054fd5e6ef5934
parentabec93de17fb483764ab27c5c781204cef561261 (diff)
downloadcaja-64cc5f2eaaaf1f27a41f900113edde77ceb1210d.tar.bz2
caja-64cc5f2eaaaf1f27a41f900113edde77ceb1210d.tar.xz
GTK+2: fix build errors after last commits
-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,