gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/canvas-window.cpp
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2010年09月18日 17:46:13 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2010年09月18日 17:46:13 +0200
commit80eb1e25cb2925ee38672bd8187ce85e39e30258 (patch)
tree6dc3ccf5232db6f7354c225ccef536edeaf12bca /agg-plot/canvas-window.cpp
parentc6bb452d9c23ccf7b5512a7564854a1e321a54b2 (diff)
downloadgsl-shell-80eb1e25cb2925ee38672bd8187ce85e39e30258.tar.gz
implemented platform_support_ext as a subclass of platform_support
This code change is purely aesthetic but the code is improved in term of clarity.
Diffstat (limited to 'agg-plot/canvas-window.cpp')
-rw-r--r--agg-plot/canvas-window.cpp 4
1 files changed, 2 insertions, 2 deletions
diff --git a/agg-plot/canvas-window.cpp b/agg-plot/canvas-window.cpp
index f42a00a2..794ba3e5 100644
--- a/agg-plot/canvas-window.cpp
+++ b/agg-plot/canvas-window.cpp
@@ -95,7 +95,7 @@ canvas_window::start_new_thread (lua_State *L)
void *
canvas_thread_function (void *_win)
{
- platform_support_prepare();
+ platform_support_ext::prepare();
canvas_window *win = (canvas_window *) _win;
@@ -126,7 +126,7 @@ canvas_window_close (lua_State *L)
canvas_window *win = object_check<canvas_window>(L, 1, GS_CANVAS_WINDOW);
win->lock();
if (win->status == canvas_window::running)
- win->close();
+ win->close_request();
win->unlock();
return 0;
}
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月17日 12:26:43 +0000

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