From: dooglus Date: Fri, 14 Dec 2007 10:41:25 +0000 (+0000) Subject: Fix 1850637: studio was crashing sometimes when closing a document. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0807b7728f5e0ff8021d153ef01225102c2b7330;p=synfig.git Fix 1850637: studio was crashing sometimes when closing a document. git-svn-id: http://svn.voria.com/code@1201 1f10aa63-cdf2-0310-b900-c93c546f37ac --- 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());