diff options
author | Robin Gareus <robin@gareus.org> | 2019-08-12 19:31:42 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-08-12 19:31:42 +0200 |
commit | 12da3016e67ffdacf0b30617380d4a2d753c3c44 (patch) | |
tree | 39a1111be4fea1240f65172bdc36213df483386c /gtk2_ardour | |
parent | f4897bb4753bf8870cdbb648a6a9f1b6d1e88b7e (diff) |
Remove unused EditorRoutes selection filter
Diffstat (limited to 'gtk2_ardour')
-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 (); |