From 63175de3340817e6e91353d345c10bbcf5a69f62 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sat, 8 May 2010 09:38:08 -0300 Subject: Fix build with GTK+ 2.16 --- shell/shell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/shell.c b/shell/shell.c index 4ae1efb3..4917f7c8 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -130,6 +130,7 @@ void shell_action_set_property(const gchar * action_name, void shell_action_set_label(const gchar * action_name, gchar * label) { +#if GTK_CHECK_VERSION(2,16,0) if (params.gui_running && shell->action_group) { GtkAction *action; @@ -139,6 +140,7 @@ void shell_action_set_label(const gchar * action_name, gchar * label) gtk_action_set_label(action, label); } } +#endif } void shell_action_set_enabled(const gchar * action_name, gboolean setting) -- cgit v1.2.3