]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/debug.c
rename the obt_parse library to obt_xml (since it is very xml specific)
[chaz/openbox] / openbox / actions / debug.c
index 99e838a64c7dbee4a88d365cef6b6384dfcee480..9ba7b1b0db4393266c9584c6b04826b2514e3411 100644 (file)
@@ -11,7 +11,7 @@ static gboolean run_func(ObActionsData *data, gpointer options);
 
 void action_debug_startup(void)
 {
-    actions_register("Debug", setup_func, free_func, run_func, NULL, NULL);
+    actions_register("Debug", setup_func, free_func, run_func);
 }
 
 static gpointer setup_func(xmlNodePtr node)
@@ -21,8 +21,8 @@ static gpointer setup_func(xmlNodePtr node)
 
     o = g_new0(Options, 1);
 
-    if ((n = obt_parse_find_node(node, "string")))
-        o->str = obt_parse_node_string(n);
+    if ((n = obt_xml_find_node(node, "string")))
+        o->str = obt_xml_node_string(n);
     return o;
 }
 
This page took 0.026294 seconds and 4 git commands to generate.