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(_display.get_column_cell_renderer (0)); @@ -802,12 +800,6 @@ EditorSources::drag_data_received (const RefPtr& context, /* ToDo: allow dropping files/loops into the source list? */ } -bool -EditorSources::selection_filter (const RefPtr& 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 EditorSources::get_dragged_region () diff --git a/gtk2_ardour/editor_sources.h b/gtk2_ardour/editor_sources.h index 7ab4a9079a..109ba82b3b 100644 --- a/gtk2_ardour/editor_sources.h +++ b/gtk2_ardour/editor_sources.h @@ -100,8 +100,6 @@ private: sigc::connection _change_connection; - bool selection_filter (const Glib::RefPtr& model, const Gtk::TreeModel::Path& path, bool yn); - Gtk::Widget* old_focus; Gtk::CellEditable* tags_editable;