summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_timefx.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-06-27 11:22:59 +0000
committerCarl Hetherington <carl@carlh.net>2009-06-27 11:22:59 +0000
commit64f9b257d96a396826e3c68b8ea4896ca24d4c7b (patch)
treeaf75ef0d2bc5c70089a6e0b14735430b024ea1b0 /gtk2_ardour/editor_timefx.cc
parentdf9654b8ccc0dcd1972fc6d130de72e0f5ad60c1 (diff)
Fix crash after time-fx due to GUI / non-GUI thread problem.
git-svn-id: svn://localhost/ardour2/branches/3.0@5287 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_timefx.cc')
-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 79266c2285..4339962a87 100644
--- a/gtk2_ardour/editor_timefx.cc
+++ b/gtk2_ardour/editor_timefx.cc
@@ -313,7 +313,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;
}
@@ -328,7 +328,7 @@ Editor::do_timefx (TimeFXDialog& dialog)
}
if (in_command) {
- commit_reversible_command ();
+ session->commit_reversible_command ();
}
dialog.status = 0;