summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rhythm_ferret.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-07-09 17:58:13 +0000
committerCarl Hetherington <carl@carlh.net>2009-07-09 17:58:13 +0000
commit402cc384ced6cb152c8abe4294009fe0de0a6dea (patch)
treef01db6b412cb8e2d3c69fa123fd615c229ee47d3 /gtk2_ardour/rhythm_ferret.cc
parentcc351b97a986fca48a6b3b631a292bf24efc5e41 (diff)
Back out big shared_ptr change. Moving to a branch. Apologies all.
git-svn-id: svn://localhost/ardour2/branches/3.0@5343 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/rhythm_ferret.cc')
-rw-r--r--gtk2_ardour/rhythm_ferret.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc
index 2e266e1598..aeaff98a54 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 (TimeAxisViewPtr tav)
+static void hide_time_axis_features (TimeAxisView& tav)
{
- tav->hide_feature_lines ();
+ tav.hide_feature_lines ();
}
void