]> Dogcows Code - chaz/openbox/commitdiff
s/xmlChildrenNode/children/
authorDana Jansens <danakj@orodu.net>
Fri, 27 Jul 2007 05:42:37 +0000 (01:42 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 20 Jan 2008 06:36:55 +0000 (01:36 -0500)
openbox/actions.c
openbox/actions/cyclewindows.c
openbox/actions/directionalwindows.c
openbox/actions/execute.c
openbox/actions/if.c

index 9ff20a41b1a80ea7898a8746673e12d2bbcf00c4..0db82e014b29bdf81bce9c4864d5a2c18069c465 100644 (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);
     }
index 70f146af7e76cad47e4fad7785b4e0793372a253..672c9d00fc83bb7b4b6c0b2109cb0d3e0909d1da 100644 (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);
index 05b841d362434b4a432baf32309c8445f0ab62f8..b512fa2440bb71ae76d1a11d183f63720ac02612 100644 (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);
index 51bcaac21c0485bcadc3f7bd55233e9dc94a0e20..6b84ce405b3681c3c5cec770acda46f3c9ac7fc1 100644 (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;
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.029294 seconds and 4 git commands to generate.