aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/shell.c2
1 files changed, 2 insertions, 0 deletions
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)