use new syntax for connecting to backend signals that enforces explicit connection scope, plus a few other related matters

git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2009-12-19 20:26:31 +00:00
parent 67460c2af4
commit aae367b63c
256 changed files with 1123 additions and 1113 deletions

View file

@ -83,7 +83,7 @@ OSC::OSC (Session& s, uint32_t port)
// "Application Hooks"
session_loaded (s);
scoped_connect (session->Exported, boost::bind (&OSC::session_exported, this, _1, _2));
session->Exported.connect (*this, boost::bind (&OSC::session_exported, this, _1, _2));
}
OSC::~OSC()
@ -573,7 +573,7 @@ OSC::listen_to_route (boost::shared_ptr<Route> route, lo_address addr)
*/
if (!route_exists) {
scoped_connect (route->GoingAway, (boost::bind (&OSC::drop_route, this, boost::weak_ptr<Route> (route))));
route->GoingAway.connect (*this, boost::bind (&OSC::drop_route, this, boost::weak_ptr<Route> (route)));
}
}