X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Fdebug.c;h=9ba7b1b0db4393266c9584c6b04826b2514e3411;hb=b06b684589a618a2481ccc2745d5e03abb6bd5e0;hp=99e838a64c7dbee4a88d365cef6b6384dfcee480;hpb=fdabb69f4f25596df972caa76c85c2aeba26226e;p=chaz%2Fopenbox diff --git a/openbox/actions/debug.c b/openbox/actions/debug.c index 99e838a6..9ba7b1b0 100644 --- a/openbox/actions/debug.c +++ b/openbox/actions/debug.c @@ -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; }