X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Fif.c;h=63a7fbcd20d10c235282ce5e6fe99888e9dec06b;hb=8bd02bf4b883fa369dd68df2053974407024ddaf;hp=8d2f281f0eb941d36c18b3b0dbd6e551d17ddf83;hpb=fdabb69f4f25596df972caa76c85c2aeba26226e;p=chaz%2Fopenbox diff --git a/openbox/actions/if.c b/openbox/actions/if.c index 8d2f281f..63a7fbcd 100644 --- a/openbox/actions/if.c +++ b/openbox/actions/if.c @@ -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);