X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Factions%2Fexit.c;h=f2b0cafbfafa0977ed9bb7c508c4114191218034;hb=0352abfa88892bc17bdff2022745e3c1b312edd0;hp=3bfebbce3175e60cca7fceec9a0272a4f35caa90;hpb=50d662681160c309ea86268c0d05794b87b75593;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; }