s/xmlChildrenNode/children/

This commit is contained in:
Dana Jansens 2007-07-27 01:42:37 -04:00
parent edeb0a2727
commit 6653c9db22
5 changed files with 9 additions and 9 deletions

View file

@ -172,7 +172,7 @@ ObActionsAct* actions_parse(xmlNodePtr node)
if ((act = actions_build_act_from_string(name)))
/* there is more stuff to parse here */
if (act->def->setup)
act->options = act->def->setup(node->xmlChildrenNode);
act->options = act->def->setup(node->children);
g_free(name);
}

View file

@ -68,7 +68,7 @@ static gpointer setup_func(xmlNodePtr node)
if ((n = obt_parse_find_node(node, "finalactions"))) {
xmlNodePtr m;
m = obt_parse_find_node(n->xmlChildrenNode, "action");
m = obt_parse_find_node(n->children, "action");
while (m) {
ObActionsAct *action = actions_parse(m);
if (action) o->actions = g_slist_prepend(o->actions, action);

View file

@ -88,7 +88,7 @@ static gpointer setup_func(xmlNodePtr node)
if ((n = obt_parse_find_node(node, "finalactions"))) {
xmlNodePtr m;
m = obt_parse_find_node(n->xmlChildrenNode, "action");
m = obt_parse_find_node(n->children, "action");
while (m) {
ObActionsAct *action = actions_parse(m);
if (action) o->actions = g_slist_prepend(o->actions, action);

View file

@ -45,13 +45,13 @@ static gpointer setup_func(xmlNodePtr node)
if ((n = obt_parse_find_node(node, "startupnotify"))) {
xmlNodePtr m;
if ((m = obt_parse_find_node(n->xmlChildrenNode, "enabled")))
if ((m = obt_parse_find_node(n->children, "enabled")))
o->sn = obt_parse_node_bool(m);
if ((m = obt_parse_find_node(n->xmlChildrenNode, "name")))
if ((m = obt_parse_find_node(n->children, "name")))
o->sn_name = obt_parse_node_string(m);
if ((m = obt_parse_find_node(n->xmlChildrenNode, "icon")))
if ((m = obt_parse_find_node(n->children, "icon")))
o->sn_icon = obt_parse_node_string(m);
if ((m = obt_parse_find_node(n->xmlChildrenNode, "wmclass")))
if ((m = obt_parse_find_node(n->children, "wmclass")))
o->sn_wmclass = obt_parse_node_string(m);
}
return o;

View file

@ -79,7 +79,7 @@ static gpointer setup_func(xmlNodePtr node)
if ((n = obt_parse_find_node(node, "then"))) {
xmlNodePtr m;
m = obt_parse_find_node(n->xmlChildrenNode, "action");
m = obt_parse_find_node(n->children, "action");
while (m) {
ObActionsAct *action = actions_parse(m);
if (action) o->thenacts = g_slist_prepend(o->thenacts, action);
@ -89,7 +89,7 @@ static gpointer setup_func(xmlNodePtr node)
if ((n = obt_parse_find_node(node, "else"))) {
xmlNodePtr m;
m = obt_parse_find_node(n->xmlChildrenNode, "action");
m = obt_parse_find_node(n->children, "action");
while (m) {
ObActionsAct *action = actions_parse(m);
if (action) o->elseacts = g_slist_prepend(o->elseacts, action);