diff options
author | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2013-04-03 16:54:32 +0100 |
---|---|---|
committer | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2013-04-03 17:04:04 +0100 |
commit | f4a9c02b1dccae504ea47aa655a1a9f7bf690505 (patch) | |
tree | 462076b8381f63b3f3bb0d65d262508ea9a1b372 /gtk2_ardour/rhythm_ferret.cc | |
parent | ec6dd2dc8bff2c5c3058ce72f45d4585a0d0ff30 (diff) |
Use selection->regions instead of Editor::get_regions_from_selection()
Remove Editor::get_regions_from_selection(), and use selection->regions
directly in the few places it was called.
Diffstat (limited to 'gtk2_ardour/rhythm_ferret.cc')
-rw-r--r-- | gtk2_ardour/rhythm_ferret.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc index bad603b030..5a59b5ce5d 100644 --- a/gtk2_ardour/rhythm_ferret.cc +++ b/gtk2_ardour/rhythm_ferret.cc @@ -345,7 +345,7 @@ RhythmFerret::do_split_action () performed on the selection only (without entered_regionview or the edit point being considered) */ - RegionSelection regions = editor.get_regions_from_selection(); + RegionSelection regions = editor.selection->regions; if (regions.empty()) { return; |