summaryrefslogtreecommitdiff
path: root/gtk2_ardour/selection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/selection.cc')
-rw-r--r--gtk2_ardour/selection.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/selection.cc b/gtk2_ardour/selection.cc
index c16c913658..75151fce2a 100644
--- a/gtk2_ardour/selection.cc
+++ b/gtk2_ardour/selection.cc
@@ -212,7 +212,7 @@ Selection::toggle (TimeAxisView* track)
if ((i = find (tracks.begin(), tracks.end(), track)) == tracks.end()) {
void (Selection::*pmf)(TimeAxisView*) = &Selection::remove;
- track->GoingAway.connect (sigc::bind (mem_fun (*this, pmf), track));
+ track->GoingAway.connect (sigc::bind (sigc::mem_fun (*this, pmf), track));
tracks.push_back (track);
} else {
tracks.erase (i);
@@ -341,7 +341,7 @@ Selection::add (const list<TimeAxisView*>& track_list)
for (list<TimeAxisView*>::const_iterator i = added.begin(); i != added.end(); ++i) {
void (Selection::*pmf)(TimeAxisView*) = &Selection::remove;
- (*i)->GoingAway.connect (sigc::bind (mem_fun (*this, pmf), (*i)));
+ (*i)->GoingAway.connect (sigc::bind (sigc::mem_fun (*this, pmf), (*i)));
}
if (!added.empty()) {
@@ -354,7 +354,7 @@ Selection::add (TimeAxisView* track)
{
if (find (tracks.begin(), tracks.end(), track) == tracks.end()) {
void (Selection::*pmf)(TimeAxisView*) = &Selection::remove;
- track->GoingAway.connect (sigc::bind (mem_fun (*this, pmf), track));
+ track->GoingAway.connect (sigc::bind (sigc::mem_fun (*this, pmf), track));
tracks.push_back (track);
TracksChanged();
}
@@ -961,7 +961,7 @@ Selection::add (Marker* m)
void (Selection::*pmf)(Marker*) = &Selection::remove;
- m->GoingAway.connect (bind (mem_fun (*this, pmf), m));
+ m->GoingAway.connect (sigc::bind (sigc::mem_fun (*this, pmf), m));
markers.push_back (m);
MarkersChanged();