]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/focus.c
rename the obt_parse library to obt_xml (since it is very xml specific)
[chaz/openbox] / openbox / actions / focus.c
index e25a79eac09b6b653d7ec21e4b3986339202603e..40c2c80d5c68506a0170769edf84e11e98ee3bf1 100644 (file)
@@ -13,7 +13,7 @@ static gboolean run_func(ObActionsData *data, gpointer options);
 
 void action_focus_startup(void)
 {
-    actions_register("Focus", setup_func, g_free, run_func, NULL, NULL);
+    actions_register("Focus", setup_func, g_free, run_func);
 }
 
 static gpointer setup_func(xmlNodePtr node)
@@ -23,8 +23,8 @@ static gpointer setup_func(xmlNodePtr node)
 
     o = g_new0(Options, 1);
 
-    if ((n = obt_parse_find_node(node, "here")))
-        o->here = obt_parse_node_bool(n);
+    if ((n = obt_xml_find_node(node, "here")))
+        o->here = obt_xml_node_bool(n);
     return o;
 }
 
This page took 0.025411 seconds and 4 git commands to generate.