diff options
author | Taybin Rutkin <taybin@taybin.com> | 2005-09-25 20:33:00 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2005-09-25 20:33:00 +0000 |
commit | e493b2b7c4fbbbfc457f02babf9546289b430177 (patch) | |
tree | 598b5fa6dc9340c96961e3131cc994480d80ff6a /gtk2_ardour/selection.cc | |
parent | f872433e8e81ba5a3a9ebffa32c6ddd9e3358f07 (diff) |
Fly my pretties!
git-svn-id: svn://localhost/trunk/ardour2@28 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/selection.cc')
-rw-r--r-- | gtk2_ardour/selection.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/selection.cc b/gtk2_ardour/selection.cc index 71b957d517..f96d649b04 100644 --- a/gtk2_ardour/selection.cc +++ b/gtk2_ardour/selection.cc @@ -33,7 +33,7 @@ #include "i18n.h" using namespace ARDOUR; -using namespace SigC; +using namespace sigc; struct AudioRangeComparator { bool operator()(AudioRange a, AudioRange b) { @@ -194,7 +194,7 @@ Selection::add (const list<TimeAxisView*>& track_list) for (list<TimeAxisView*>::const_iterator i = track_list.begin(); i != track_list.end(); ++i) { if (find (tracks.begin(), tracks.end(), (*i)) == tracks.end()) { void (Selection::*pmf)(TimeAxisView*) = &Selection::remove; - (*i)->GoingAway.connect (bind (slot (*this, pmf), (*i))); + (*i)->GoingAway.connect (sigc::bind (mem_fun (*this, pmf), (*i))); tracks.push_back (*i); changed = true; } @@ -210,7 +210,7 @@ Selection::add (TimeAxisView* track) { if (find (tracks.begin(), tracks.end(), track) == tracks.end()) { void (Selection::*pmf)(TimeAxisView*) = &Selection::remove; - track->GoingAway.connect (bind (slot (*this, pmf), track)); + track->GoingAway.connect (sigc::bind (mem_fun (*this, pmf), track)); tracks.push_back (track); TracksChanged(); } |