projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c22e601
)
was using random memory for parsing pipe menus with the new parse api
author
Dana Jansens
<danakj@orodu.net>
Sat, 28 Jul 2007 14:44:55 +0000
(10:44 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 20 Jan 2008 06:36:55 +0000
(
01:36
-0500)
openbox/menu.c
patch
|
blob
|
history
diff --git
a/openbox/menu.c
b/openbox/menu.c
index
f6d19d0
..
a78aa4d
100644
(file)
--- 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);