summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-12-12 02:17:17 +0000
committerCarl Hetherington <carl@carlh.net>2011-12-12 02:17:17 +0000
commit4dd7b9b34ca74342442dfb2490f7a7080fe03142 (patch)
tree3d560cd09db75b9e5b7d817d37005a371cd2c5fd /gtk2_ardour/time_axis_view.h
parent748b24009bb1b4b104411eb75527d2ec09415c91 (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/time_axis_view.h')
-rw-r--r--gtk2_ardour/time_axis_view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h
index 790274c626..9771c8b200 100644
--- a/gtk2_ardour/time_axis_view.h
+++ b/gtk2_ardour/time_axis_view.h
@@ -267,7 +267,7 @@ class TimeAxisView : public virtual AxisView
Children children;
bool is_child (TimeAxisView*);
- void remove_child (boost::shared_ptr<TimeAxisView>);
+ virtual void remove_child (boost::shared_ptr<TimeAxisView>);
void add_child (boost::shared_ptr<TimeAxisView>);
/* selection display */