summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_routes.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-05-10 01:37:35 +0000
committerCarl Hetherington <carl@carlh.net>2010-05-10 01:37:35 +0000
commitc899ba4368e61f31820a34c5e7c9a48345a364a2 (patch)
treec54418e2885a9cf872927a3d2b0678d6347778e0 /gtk2_ardour/editor_routes.cc
parentce1316a9076fa39cbfc6dbb06dd119aff31c89b7 (diff)
Remove some dead code.
git-svn-id: svn://localhost/ardour2/branches/3.0@7090 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_routes.cc')
-rw-r--r--gtk2_ardour/editor_routes.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc
index 81a1635e77..80353c6d3f 100644
--- a/gtk2_ardour/editor_routes.cc
+++ b/gtk2_ardour/editor_routes.cc
@@ -398,12 +398,15 @@ EditorRoutes::route_deleted (Gtk::TreeModel::Path const &)
void
EditorRoutes::visible_changed (Glib::ustring const & path)
{
+ cout << "vis cha earl\n";
if (_session && _session->deletion_in_progress()) {
return;
}
TreeIter iter;
+ cout << "ER vis cha\n";
+
if ((iter = _model->get_iter (path))) {
TimeAxisView* tv = (*iter)[_columns.tv];
if (tv) {
@@ -567,8 +570,11 @@ EditorRoutes::hide_track_in_display (TimeAxisView& tv)
TreeModel::Children rows = _model->children();
TreeModel::Children::iterator i;
+ cout << "hide.\n";
+
for (i = rows.begin(); i != rows.end(); ++i) {
if ((*i)[_columns.tv] == &tv) {
+ cout << "weee\n";
(*i)[_columns.visible] = false;
break;
}