summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_routes.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-08-12 19:31:42 +0200
committerRobin Gareus <robin@gareus.org>2019-08-12 19:31:42 +0200
commit12da3016e67ffdacf0b30617380d4a2d753c3c44 (patch)
tree39a1111be4fea1240f65172bdc36213df483386c /gtk2_ardour/editor_routes.cc
parentf4897bb4753bf8870cdbb648a6a9f1b6d1e88b7e (diff)
Remove unused EditorRoutes selection filter
Diffstat (limited to 'gtk2_ardour/editor_routes.cc')
-rw-r--r--gtk2_ardour/editor_routes.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc
index 544d5af463..85cb372072 100644
--- a/gtk2_ardour/editor_routes.cc
+++ b/gtk2_ardour/editor_routes.cc
@@ -260,7 +260,6 @@ EditorRoutes::EditorRoutes (Editor* e)
_display.set_headers_visible (true);
_display.get_selection()->set_mode (SELECTION_MULTIPLE);
- _display.get_selection()->set_select_function (sigc::mem_fun (*this, &EditorRoutes::selection_filter));
_display.get_selection()->signal_changed().connect (sigc::mem_fun (*this, &EditorRoutes::selection_changed));
_display.set_reorderable (true);
_display.set_name (X_("EditGroupList"));
@@ -1470,17 +1469,6 @@ EditorRoutes::selection_changed ()
_editor->commit_reversible_selection_op ();
}
-bool
-EditorRoutes::selection_filter (Glib::RefPtr<TreeModel> const& model, TreeModel::Path const& path, bool /*selected*/)
-{
- TreeModel::iterator iter = model->get_iter (path);
- if (iter) {
- boost::shared_ptr<Stripable> stripable = (*iter)[_columns.stripable];
- }
-
- return true;
-}
-
void
EditorRoutes::initial_display ()
{