diff options
author | Carl Hetherington <carl@carlh.net> | 2011-12-12 02:17:17 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-12-12 02:17:17 +0000 |
commit | 4dd7b9b34ca74342442dfb2490f7a7080fe03142 (patch) | |
tree | 3d560cd09db75b9e5b7d817d37005a371cd2c5fd /gtk2_ardour/route_time_axis.h | |
parent | 748b24009bb1b4b104411eb75527d2ec09415c91 (diff) |
Make TimeAxisView::remove_child virtual so that RouteTimeAxis can override it to also remove the same child from its _automation_tracks list. Prevents a shared_ptr to an out-of-date AutomationTimeAxisView hanging around; fixes #4554.
git-svn-id: svn://localhost/ardour2/branches/3.0@10985 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.h')
-rw-r--r-- | gtk2_ardour/route_time_axis.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/route_time_axis.h b/gtk2_ardour/route_time_axis.h index da64b23498..eb1a212d0e 100644 --- a/gtk2_ardour/route_time_axis.h +++ b/gtk2_ardour/route_time_axis.h @@ -306,6 +306,10 @@ protected: UnderlayMirrorList _underlay_mirrors; bool _ignore_track_mode_change; ///< true to ignore track mode change signals + +private: + + void remove_child (boost::shared_ptr<TimeAxisView>); }; #endif /* __ardour_route_time_axis_h__ */ |