From 0807b7728f5e0ff8021d153ef01225102c2b7330 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 14 Dec 2007 10:41:25 +0000 Subject: [PATCH] Fix 1850637: studio was crashing sometimes when closing a document. git-svn-id: http://svn.voria.com/code@1201 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/dock_children.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/gtkmm/dock_children.cpp b/synfig-studio/trunk/src/gtkmm/dock_children.cpp index 88407d7..7273395 100644 --- a/synfig-studio/trunk/src/gtkmm/dock_children.cpp +++ b/synfig-studio/trunk/src/gtkmm/dock_children.cpp @@ -65,7 +65,11 @@ using namespace studio; Dock_Children::Dock_Children(): Dock_CanvasSpecific("children",_("Children"),Gtk::StockID("synfig-children")) { - set_use_scrolled(false); + //! \todo the combination of set_use_scrolled(false) and + //! add(*tree_view) causes crashes when + //! Dockable::prev_widget_ is left referencing a + //! ChildrenTree that has already been destroyed. + // set_use_scrolled(false); /* add(*create_action_tree()); -- 2.7.4