summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_gain_line.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-01-02 00:17:55 +0000
committerCarl Hetherington <carl@carlh.net>2009-01-02 00:17:55 +0000
commit042997e5ed35778c5309b6119ca1dcf8f696c3cc (patch)
treef96471702eeeb27211afe7baf53fd3d3e230fa32 /gtk2_ardour/region_gain_line.cc
parent69ed2a3c2784ff5c02b68435bcb0c3f2b80e0b4b (diff)
Cleanups and a few comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@4374 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_gain_line.cc')
-rw-r--r--gtk2_ardour/region_gain_line.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/region_gain_line.cc b/gtk2_ardour/region_gain_line.cc
index 204148bd77..2528e350fc 100644
--- a/gtk2_ardour/region_gain_line.cc
+++ b/gtk2_ardour/region_gain_line.cc
@@ -69,7 +69,7 @@ AudioRegionGainLine::remove_point (ControlPoint& cp)
model_representation (cp, mr);
- trackview.editor.current_session()->begin_reversible_command (_("remove control point"));
+ trackview.editor().current_session()->begin_reversible_command (_("remove control point"));
XMLNode &before = alist->get_state();
if (!rv.audio_region()->envelope_active()) {
@@ -81,9 +81,9 @@ AudioRegionGainLine::remove_point (ControlPoint& cp)
alist->erase (mr.start, mr.end);
- trackview.editor.current_session()->add_command (new MementoCommand<AutomationList>(*alist.get(), &before, &alist->get_state()));
- trackview.editor.current_session()->commit_reversible_command ();
- trackview.editor.current_session()->set_dirty ();
+ trackview.editor().current_session()->add_command (new MementoCommand<AutomationList>(*alist.get(), &before, &alist->get_state()));
+ trackview.editor().current_session()->commit_reversible_command ();
+ trackview.editor().current_session()->set_dirty ();
}
void