From 4297071b3f7360b17d81ef9cf36b8d75d46d2818 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 9 Jul 2009 13:39:45 +0000 Subject: Use shared_ptr for the TimeAxisView hierarchy. git-svn-id: svn://localhost/ardour2/branches/3.0@5339 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/rhythm_ferret.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour/rhythm_ferret.cc') diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc index aeaff98a54..2e266e1598 100644 --- a/gtk2_ardour/rhythm_ferret.cc +++ b/gtk2_ardour/rhythm_ferret.cc @@ -260,7 +260,7 @@ RhythmFerret::run_analysis () } for (RegionSelection::iterator i = regions.begin(); i != regions.end(); ++i) { - (*i)->get_time_axis_view().show_feature_lines (current_results); + (*i)->get_time_axis_view()->show_feature_lines (current_results); } } @@ -399,7 +399,7 @@ RhythmFerret::do_split_action () tmp = i; ++tmp; - (*i)->get_time_axis_view().hide_feature_lines (); + (*i)->get_time_axis_view()->hide_feature_lines (); editor.split_region_at_points ((*i)->region(), current_results, false); @@ -418,9 +418,9 @@ RhythmFerret::set_session (Session* s) current_results.clear (); } -static void hide_time_axis_features (TimeAxisView& tav) +static void hide_time_axis_features (TimeAxisViewPtr tav) { - tav.hide_feature_lines (); + tav->hide_feature_lines (); } void -- cgit v1.2.3