summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-28 10:44:55 -0400
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:55 -0500
commit2e8c9a13d4e188b538b14bd9a9d9cf31809400ed (patch)
tree900ce7bd2e94c139f89c969f719caf00c7e0dced /openbox
parentc22e6012d11e7316953c7a71222f11337d8c4868 (diff)
was using random memory for parsing pipe menus with the new parse api
Diffstat (limited to 'openbox')
-rw-r--r--openbox/menu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbox/menu.c b/openbox/menu.c
index f6d19d01..a78aa4da 100644
--- a/openbox/menu.c
+++ b/openbox/menu.c
@@ -158,7 +158,6 @@ void menu_clear_pipe_caches(void)
void menu_pipe_execute(ObMenu *self)
{
- xmlNodePtr node;
gchar *output;
GError *err = NULL;
@@ -179,7 +178,7 @@ void menu_pipe_execute(ObMenu *self)
{
menu_parse_state.pipe_creator = self;
menu_parse_state.parent = self;
- obt_parse_tree(menu_parse_inst, node->children);
+ obt_parse_tree_from_root(menu_parse_inst);
obt_parse_close(menu_parse_inst);
} else {
g_message(_("Invalid output from pipe-menu '%s'"), self->execute);