From a1077b46c18fe056632fa3ed5098a5c6a8ded3ae Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 6 Mar 2007 22:45:50 +0000 Subject: [PATCH] Fix 1675309: CanvasView::close() was previously just hiding the canvas, not closing it. git-svn-id: http://svn.voria.com/code@266 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/canvasview.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp b/synfig-studio/trunk/src/gtkmm/canvasview.cpp index 8ddf3d4..f882d12 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp +++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp @@ -1946,9 +1946,7 @@ CanvasView::refresh_rend_desc() bool CanvasView::close() { - hide(); - // I think this is bad..., removing - // get_instance()->canvas_view_list().erase(std::find(get_instance()->canvas_view_list().begin(),get_instance()->canvas_view_list().end(),this)); + get_instance()->safe_close(); return false; } -- 2.7.4