summaryrefslogtreecommitdiff
path: root/libs/ardour/route_group.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-04 16:41:25 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-04 16:41:25 +0000
commit09211cf0495a1d66691cc96291f698f117083b25 (patch)
tree7cf696c852616316b116432bfdd9b2fc1c151e81 /libs/ardour/route_group.cc
parent98370b39c4b3350843cf0fa3b3b4ab13e8147886 (diff)
Fix somewhat confusing method names.
git-svn-id: svn://localhost/ardour2/branches/3.0@10439 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route_group.cc')
-rw-r--r--libs/ardour/route_group.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/route_group.cc b/libs/ardour/route_group.cc
index 045067013d..d8acefbeed 100644
--- a/libs/ardour/route_group.cc
+++ b/libs/ardour/route_group.cc
@@ -125,7 +125,7 @@ RouteGroup::~RouteGroup ()
RouteList::iterator tmp = i;
++tmp;
- (*i)->leave_route_group ();
+ (*i)->set_route_group (0);
i = tmp;
}
@@ -147,7 +147,7 @@ RouteGroup::add (boost::shared_ptr<Route> r)
routes->push_back (r);
- r->join_route_group (this);
+ r->set_route_group (this);
r->DropReferences.connect_same_thread (*this, boost::bind (&RouteGroup::remove_when_going_away, this, boost::weak_ptr<Route> (r)));
_session.set_dirty ();
@@ -171,7 +171,7 @@ RouteGroup::remove (boost::shared_ptr<Route> r)
RouteList::iterator i;
if ((i = find (routes->begin(), routes->end(), r)) != routes->end()) {
- r->leave_route_group ();
+ r->set_route_group (0);
routes->erase (i);
_session.set_dirty ();
RouteRemoved (this, boost::weak_ptr<Route> (r)); /* EMIT SIGNAL */