author | Francesco Abbate <francesco.bbt@gmail.com> | 2010年08月08日 00:47:16 +0200 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2010年08月08日 00:47:16 +0200 |
commit | edd594b48a302145178679af1719d1a85454dee4 (patch) | |
tree | 325bc8f04f91b81c4cf10fb2731a5cddc8dd74a9 /window-refs.c | |
parent | 7ca6cb456b8517b97c9a063f07799b3babda3b5e (diff) | |
download | gsl-shell-edd594b48a302145178679af1719d1a85454dee4.tar.gz |
-rw-r--r-- | window-refs.c | 2 |
diff --git a/window-refs.c b/window-refs.c index 873f9d52..dc694d2d 100644 --- a/window-refs.c +++ b/window-refs.c @@ -47,7 +47,7 @@ window_ref_close_all (lua_State *L) lua_pushnil (L); /* first key */ while (lua_next(L, -2) != 0) { - lua_pushcfunction (L, canvas_window_close); + lua_pushcfunction (L, canvas_window_close_protected); lua_insert (L, -2); lua_call (L, 1, 0); } |