awesome: fix exit hook

Bad cherry-pick.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-06-08 12:32:42 +02:00
parent 37d2b7f2a3
commit aceab7a39a
1 changed files with 1 additions and 1 deletions

View File

@ -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();