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

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