summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-10-04 03:57:49 +0200
committerRobin Gareus <robin@gareus.org>2018-10-04 03:57:49 +0200
commit7cdf25e02fce0111d237b41f57889661fc82260b (patch)
tree5dfc16ae4db591be1887f79bbd3c56dae183a9e3
parent4d3cd732c93dd64b8768ec5f8398999f521ee6f0 (diff)
Remove cruft
-rw-r--r--gtk2_ardour/editor_selection.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc
index 0d5909778a..61699afe09 100644
--- a/gtk2_ardour/editor_selection.cc
+++ b/gtk2_ardour/editor_selection.cc
@@ -983,23 +983,6 @@ Editor::set_selected_regionview_from_map_event (GdkEventAny* /*ev*/, StreamView*
return true;
}
-struct SelectionOrderSorter {
- bool operator() (TimeAxisView const * const a, TimeAxisView const * const b) const {
- boost::shared_ptr<Stripable> sa = a->stripable ();
- boost::shared_ptr<Stripable> sb = b->stripable ();
- if (!sa && !sb) {
- return a < b;
- }
- if (!sa) {
- return false;
- }
- if (!sb) {
- return true;
- }
- return sa->presentation_info().selection_cnt() < sb->presentation_info().selection_cnt();
- }
-};
-
void
Editor::presentation_info_changed (PropertyChange const & what_changed)
{