diff options
-rw-r--r-- | gtk2_ardour/editor_routes.cc | 12 | ||||
-rw-r--r-- | gtk2_ardour/editor_routes.h | 1 |
2 files changed, 0 insertions, 13 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 () { diff --git a/gtk2_ardour/editor_routes.h b/gtk2_ardour/editor_routes.h index 985f9c8754..52af34643d 100644 --- a/gtk2_ardour/editor_routes.h +++ b/gtk2_ardour/editor_routes.h @@ -117,7 +117,6 @@ private: int plugin_setup (boost::shared_ptr<ARDOUR::Route>, boost::shared_ptr<ARDOUR::PluginInsert>, ARDOUR::Route::PluginSetupOptions); - bool selection_filter (Glib::RefPtr<Gtk::TreeModel> const &, Gtk::TreeModel::Path const &, bool); void name_edit (std::string const &, std::string const &); void solo_changed_so_update_mute (); |