Fix 1850637: studio was crashing sometimes when closing a document.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 14 Dec 2007 10:41:25 +0000 (10:41 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 14 Dec 2007 10:41:25 +0000 (10:41 +0000)
git-svn-id: http://svn.voria.com/code@1201 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/dock_children.cpp

index 88407d7..7273395 100644 (file)
@@ -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());