X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Frhythm_ferret.cc;h=e257f56b52479fa15039c2ceb796e91b4c1f0f8d;hb=aabc5108f34058d466d1e7451694193a08379ce2;hp=5a59b5ce5dfc3979e6e06c37e2387626e52f8a83;hpb=fcf7530676f840e4444213a27afb53255010d0d8;p=ardour.git diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc index 5a59b5ce5d..e257f56b52 100644 --- a/gtk2_ardour/rhythm_ferret.cc +++ b/gtk2_ardour/rhythm_ferret.cc @@ -31,7 +31,6 @@ #include "rhythm_ferret.h" #include "audio_region_view.h" #include "editor.h" -#include "utils.h" #include "time_axis_view.h" #include "i18n.h" @@ -274,7 +273,7 @@ RhythmFerret::get_note_onset_function () fatal << string_compose (_("programming error: %1 (%2)"), X_("illegal note onset function string"), txt) << endmsg; - /*NOTREACHED*/ + abort(); /*NOTREACHED*/ return -1; } @@ -353,7 +352,7 @@ RhythmFerret::do_split_action () editor.EditorFreeze(); /* Emit signal */ - _session->begin_reversible_command (_("split regions (rhythm ferret)")); + editor.begin_reversible_command (_("split regions (rhythm ferret)")); /* Merge the transient positions for regions in consideration */ AnalysisFeatureList merged_features; @@ -382,7 +381,7 @@ RhythmFerret::do_split_action () i = tmp; } - _session->commit_reversible_command (); + editor.commit_reversible_command (); editor.EditorThaw(); /* Emit signal */ }