summaryrefslogtreecommitdiff
path: root/openbox/actions.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-27 01:37:28 -0400
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:55 -0500
commitfdabb69f4f25596df972caa76c85c2aeba26226e (patch)
tree2566f1a229a65e54cdffd88a255301d0bf7fa3a7 /openbox/actions.c
parent0667bbc3e2fbd3fa39206e843560735524840d35 (diff)
update openbox to use the current parser interface in libobt
there is also some random bug fixes for other libobt stuff in here.
Diffstat (limited to 'openbox/actions.c')
-rw-r--r--openbox/actions.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/openbox/actions.c b/openbox/actions.c
index 0c84489a..9ff20a41 100644
--- a/openbox/actions.c
+++ b/openbox/actions.c
@@ -158,23 +158,21 @@ ObActionsAct* actions_parse_string(const gchar *name)
if ((act = actions_build_act_from_string(name)))
if (act->def->setup)
- act->options = act->def->setup(NULL, NULL, NULL);
+ act->options = act->def->setup(NULL);
return act;
}
-ObActionsAct* actions_parse(ObParseInst *i,
- xmlDocPtr doc,
- xmlNodePtr node)
+ObActionsAct* actions_parse(xmlNodePtr node)
{
gchar *name;
ObActionsAct *act = NULL;
- if (parse_attr_string("name", node, &name)) {
+ if (obt_parse_attr_string(node, "name", &name)) {
if ((act = actions_build_act_from_string(name)))
/* there is more stuff to parse here */
if (act->def->setup)
- act->options = act->def->setup(i, doc, node->xmlChildrenNode);
+ act->options = act->def->setup(node->xmlChildrenNode);
g_free(name);
}