diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2010-05-08 09:38:08 -0300 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2010-05-08 09:38:08 -0300 |
commit | 63175de3340817e6e91353d345c10bbcf5a69f62 (patch) | |
tree | 8d9873564b26669a492dd63f5297d218b72ae9f9 | |
parent | e954b45be92db2cf10fe58438c999699f0d85766 (diff) |
Fix build with GTK+ 2.16
-rw-r--r-- | shell/shell.c | 2 |
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) |