From 0e69ae2b96fb4dd7435ebe15645d1384d11a3ef7 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Wed, 23 Jul 2003 01:45:44 +0000 Subject: * Change xml parsing to pass the parent node, rather than the first child. * Add x,y co-ordinates on showmenu action so we can place menus on keypress. --- parser/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parser/parse.c') diff --git a/parser/parse.c b/parser/parse.c index 2b81594a..72643652 100644 --- a/parser/parse.c +++ b/parser/parse.c @@ -100,7 +100,7 @@ void parse_tree(xmlDocPtr doc, xmlNodePtr node, void *nothing) struct Callback *c = g_hash_table_lookup(callbacks, node->name); if (c) - c->func(doc, node->xmlChildrenNode, c->data); + c->func(doc, node, c->data); node = node->next; } -- cgit v1.2.3