summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_sources.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-08-13 00:53:04 +0200
committerRobin Gareus <robin@gareus.org>2019-08-13 00:53:04 +0200
commitf940cbe794837ac6a52ecde11d816357f62aa0dc (patch)
tree9324839867c6d8e18b7047f55a7beed2691a1c16 /gtk2_ardour/editor_sources.cc
parent8a9b38e5408954362716facd92a90f0cd3fbfb29 (diff)
Remove unused EditorSources selection filter
Diffstat (limited to 'gtk2_ardour/editor_sources.cc')
-rw-r--r--gtk2_ardour/editor_sources.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/gtk2_ardour/editor_sources.cc b/gtk2_ardour/editor_sources.cc
index ee8e84458e..231efee74d 100644
--- a/gtk2_ardour/editor_sources.cc
+++ b/gtk2_ardour/editor_sources.cc
@@ -161,8 +161,6 @@ EditorSources::EditorSources (Editor* e)
_display.set_headers_visible (true);
_display.set_rules_hint ();
- _display.get_selection()->set_select_function (sigc::mem_fun (*this, &EditorSources::selection_filter));
-
//set the color of the name field
TreeViewColumn* tv_col = _display.get_column(0);
CellRendererText* renderer = dynamic_cast<CellRendererText*>(_display.get_column_cell_renderer (0));
@@ -802,12 +800,6 @@ EditorSources::drag_data_received (const RefPtr<Gdk::DragContext>& context,
/* ToDo: allow dropping files/loops into the source list? */
}
-bool
-EditorSources::selection_filter (const RefPtr<TreeModel>& model, const TreeModel::Path& path, bool already_selected)
-{
- return true;
-}
-
/** @return Region that has been dragged out of the list, or 0 */
boost::shared_ptr<ARDOUR::Region>
EditorSources::get_dragged_region ()