s/xmlChildrenNode/children/
This commit is contained in:
parent
edeb0a2727
commit
6653c9db22
5 changed files with 9 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue