From b76b0be55334903231e5f70db0a6802eca071f85 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sun, 28 Jun 2009 13:14:27 +0000 Subject: 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 --- gtk2_ardour/editor_timefx.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour') 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; -- cgit v1.2.3