summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_markers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor_markers.cc')
-rw-r--r--gtk2_ardour/editor_markers.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/editor_markers.cc b/gtk2_ardour/editor_markers.cc
index 4d9828a14d..dbee2fb9d2 100644
--- a/gtk2_ardour/editor_markers.cc
+++ b/gtk2_ardour/editor_markers.cc
@@ -123,11 +123,11 @@ Editor::add_new_location (Location *location)
lam->show ();
}
- location->start_changed.connect (sigc::mem_fun(*this, &Editor::location_changed));
- location->end_changed.connect (sigc::mem_fun(*this, &Editor::location_changed));
- location->changed.connect (sigc::mem_fun(*this, &Editor::location_changed));
- location->name_changed.connect (sigc::mem_fun(*this, &Editor::location_changed));
- location->FlagsChanged.connect (sigc::mem_fun(*this, &Editor::location_flags_changed));
+ location->start_changed.connect (*this, boost::bind (&Editor::location_changed, this, _1));
+ location->end_changed.connect (*this, boost::bind (&Editor::location_changed, this, _1));
+ location->changed.connect (*this, boost::bind (&Editor::location_changed, this, _1));
+ location->name_changed.connect (*this, boost::bind (&Editor::location_changed, this, _1));
+ location->FlagsChanged.connect (*this, boost::bind (&Editor::location_flags_changed, this, _1, _2));
pair<Location*,LocationMarkers*> newpair;