diff options
author | Taybin Rutkin <taybin@taybin.com> | 2005-09-25 21:19:23 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2005-09-25 21:19:23 +0000 |
commit | d38e2213d79b1c8952c776a3b60f7709457edc0c (patch) | |
tree | 4d441ade9897b3c4749bfeb53c18f5841bdafbf9 /gtk2_ardour/route_redirect_selection.cc | |
parent | e493b2b7c4fbbbfc457f02babf9546289b430177 (diff) |
replaced slot() with mem_fun() and ptr_fun().
git-svn-id: svn://localhost/trunk/ardour2@29 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_redirect_selection.cc')
-rw-r--r-- | gtk2_ardour/route_redirect_selection.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/route_redirect_selection.cc b/gtk2_ardour/route_redirect_selection.cc index 8032ddbbb4..cefe7985cb 100644 --- a/gtk2_ardour/route_redirect_selection.cc +++ b/gtk2_ardour/route_redirect_selection.cc @@ -89,7 +89,7 @@ RouteRedirectSelection::add (Redirect* r) redirects.push_back (r); void (RouteRedirectSelection::*pmf)(Redirect*) = &RouteRedirectSelection::remove; - r->GoingAway.connect (slot (*this, pmf)); + r->GoingAway.connect (mem_fun(*this, pmf)); RedirectsChanged(); } @@ -105,7 +105,7 @@ RouteRedirectSelection::add (const vector<Redirect*>& rlist) redirects.push_back (*i); void (RouteRedirectSelection::*pmf)(Redirect*) = &RouteRedirectSelection::remove; - (*i)->GoingAway.connect (slot (*this, pmf)); + (*i)->GoingAway.connect (mem_fun(*this, pmf)); changed = true; } } @@ -146,7 +146,7 @@ RouteRedirectSelection::add (Route* r) routes.push_back (r); void (RouteRedirectSelection::*pmf)(Route*) = &RouteRedirectSelection::remove; - r->GoingAway.connect (bind (slot (*this, pmf), r)); + r->GoingAway.connect (bind (mem_fun(*this, pmf), r)); RoutesChanged(); } |