X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdock_children.cpp;h=d997a0c42f12b56ef72490721c645ec4615e1c4e;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=f8f9a92b1567c7ce2a9d4eec9ca70a804dfa8010;hpb=837b63e9fb829d66d43f4f169861f8979f76820d;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dock_children.cpp b/synfig-studio/trunk/src/gtkmm/dock_children.cpp index f8f9a92..d997a0c 100644 --- a/synfig-studio/trunk/src/gtkmm/dock_children.cpp +++ b/synfig-studio/trunk/src/gtkmm/dock_children.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -43,6 +44,8 @@ #include "childrentree.h" #include "canvasview.h" +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -63,7 +66,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());