diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-12-27 06:37:18 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-12-27 06:37:18 +0000 |
commit | 1bb873464ce8d4be5550d98a6dbc449be149e98a (patch) | |
tree | a6ecc12f61f6b66f5710b2d5212e2deeea41a469 /gtk/gtkuimanager.c | |
parent | 264e9c0ce11839b41859de1ef720b68374b6f850 (diff) | |
download | gtk+-1bb873464ce8d4be5550d98a6dbc449be149e98a.tar.gz |
If a required action is missing, don't recurse over the children.
2006-12-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (update_node): If a required action
is missing, don't recurse over the children. (#349119,
Chris Moller)
Diffstat (limited to 'gtk/gtkuimanager.c')
-rw-r--r-- | gtk/gtkuimanager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkuimanager.c b/gtk/gtkuimanager.c index 9e241c946a..25c25642f2 100644 --- a/gtk/gtkuimanager.c +++ b/gtk/gtkuimanager.c @@ -2133,9 +2133,9 @@ update_node (GtkUIManager *self, info->type != NODE_TYPE_MENU_PLACEHOLDER && info->type != NODE_TYPE_TOOLBAR_PLACEHOLDER) { - g_warning ("%s: missing action", info->name); + g_warning ("%s: missing action %s", info->name, action_name); - goto recurse_children; + return; } if (action) |