added missing lock when closing windows when terminating - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/window-refs.c
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2010年08月08日 00:47:16 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2010年08月08日 00:47:16 +0200
commitedd594b48a302145178679af1719d1a85454dee4 (patch)
tree325bc8f04f91b81c4cf10fb2731a5cddc8dd74a9 /window-refs.c
parent7ca6cb456b8517b97c9a063f07799b3babda3b5e (diff)
downloadgsl-shell-edd594b48a302145178679af1719d1a85454dee4.tar.gz
added missing lock when closing windows when terminating
Diffstat (limited to 'window-refs.c')
-rw-r--r--window-refs.c 2
1 files changed, 1 insertions, 1 deletions
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);
}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月20日 14:15:30 +0000

AltStyle によって変換されたページ (->オリジナル) /