X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Fexit.c;h=f2b0cafbfafa0977ed9bb7c508c4114191218034;hb=b06b684589a618a2481ccc2745d5e03abb6bd5e0;hp=3bfebbce3175e60cca7fceec9a0272a4f35caa90;hpb=a93b00a5e93281c7c2c31112f0b6b827d605a19d;p=chaz%2Fopenbox diff --git a/openbox/actions/exit.c b/openbox/actions/exit.c index 3bfebbce..f2b0cafb 100644 --- a/openbox/actions/exit.c +++ b/openbox/actions/exit.c @@ -13,8 +13,8 @@ static gboolean run_func(ObActionsData *data, gpointer options); void action_exit_startup(void) { - actions_register("Exit", setup_func, NULL, run_func, NULL, NULL); - actions_register("SessionLogout", setup_func, NULL, run_func, NULL, NULL); + actions_register("Exit", setup_func, NULL, run_func); + actions_register("SessionLogout", setup_func, NULL, run_func); } static gpointer setup_func(xmlNodePtr node) @@ -25,8 +25,8 @@ static gpointer setup_func(xmlNodePtr node) o = g_new0(Options, 1); o->prompt = TRUE; - if ((n = obt_parse_find_node(node, "prompt"))) - o->prompt = obt_parse_node_bool(n); + if ((n = obt_xml_find_node(node, "prompt"))) + o->prompt = obt_xml_node_bool(n); return o; }