summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorBen Loftis <ben@glw.com>2009-06-28 13:14:27 +0000
committerBen Loftis <ben@glw.com>2009-06-28 13:14:27 +0000
commitb76b0be55334903231e5f70db0a6802eca071f85 (patch)
tree37f59c95cb65671340c16877d48c167b2a588022 /gtk2_ardour
parent81ce04522899de9d81eba8a0f0420f8b84373425 (diff)
apply carls thread fix from 3.0 to 2.0
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5289 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor_timefx.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc
index 517102a173..4d1eaa66b9 100644
--- a/gtk2_ardour/editor_timefx.cc
+++ b/gtk2_ardour/editor_timefx.cc
@@ -412,7 +412,7 @@ Editor::do_timefx (TimeFXDialog& dialog)
new_region = fx->results.front();
if (!in_command) {
- begin_reversible_command (dialog.pitching ? _("pitch shift") : _("time stretch"));
+ session->begin_reversible_command (dialog.pitching ? _("pitch shift") : _("time stretch"));
in_command = true;
}
@@ -427,7 +427,7 @@ Editor::do_timefx (TimeFXDialog& dialog)
}
if (in_command) {
- commit_reversible_command ();
+ session->commit_reversible_command ();
}
dialog.status = 0;