]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/if.c
s/xmlChildrenNode/children/
[chaz/openbox] / openbox / actions / if.c
index 8d2f281f0eb941d36c18b3b0dbd6e551d17ddf83..63a7fbcd20d10c235282ce5e6fe99888e9dec06b 100644 (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);
This page took 0.025455 seconds and 4 git commands to generate.