From 2e8c9a13d4e188b538b14bd9a9d9cf31809400ed Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 28 Jul 2007 10:44:55 -0400 Subject: [PATCH] was using random memory for parsing pipe menus with the new parse api --- openbox/menu.c | 3 +-- 1 file changed, 1 insertion(+), 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); -- 2.45.2