From aceab7a39afabedff214b3e047a7908fe38a21d9 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 8 Jun 2009 12:32:42 +0200 Subject: [PATCH] awesome: fix exit hook Bad cherry-pick. Signed-off-by: Julien Danjou --- awesome.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome.c b/awesome.c index 646facb8..d621c947 100644 --- a/awesome.c +++ b/awesome.c @@ -64,7 +64,7 @@ awesome_atexit(void) int screen_nbr, nscreens; if(globalconf.hooks.exit != LUA_REFNIL) - luaA_dofunction_from_registry(globalconf.L, globalconf.hooks.exit, 0, 0); + luaA_dofunction(globalconf.L, globalconf.hooks.exit, 0, 0); a_dbus_cleanup();