void action_moverelative_startup(void)
{
- actions_register("MoveRelative", setup_func, g_free, run_func, NULL, NULL);
+ actions_register("MoveRelative", setup_func, g_free, run_func);
}
static gpointer setup_func(xmlNodePtr node)
o = g_new0(Options, 1);
- if ((n = obt_parse_find_node(node, "x")))
- o->x = obt_parse_node_int(n);
- if ((n = obt_parse_find_node(node, "y")))
- o->y = obt_parse_node_int(n);
+ if ((n = obt_xml_find_node(node, "x")))
+ o->x = obt_xml_node_int(n);
+ if ((n = obt_xml_find_node(node, "y")))
+ o->y = obt_xml_node_int(n);
return o;
}