use new ARDOUR::Location signals in GUI
[ardour.git] / gtk2_ardour / editor_markers.cc
index 11603ef350aa059497f34812ccfaadd8245283ec..5a37fe70cbce7d8f350fb4a3984e94949f9c4605 100644 (file)
@@ -164,7 +164,7 @@ Editor::add_new_location_internal (Location* location)
        }
 
        location->name_changed.connect (*this, invalidator (*this), boost::bind (&Editor::location_changed, this, _1), gui_context());
-       location->FlagsChanged.connect (*this, invalidator (*this), boost::bind (&Editor::location_flags_changed, this, _1, _2), gui_context());
+       location->FlagsChanged.connect (*this, invalidator (*this), boost::bind (&Editor::location_flags_changed, this, location), gui_context());
 
        pair<Location*,LocationMarkers*> newpair;
 
@@ -367,7 +367,7 @@ Editor::update_marker_labels (ArdourCanvas::Container* group)
 }
 
 void
-Editor::location_flags_changed (Location *location, void*)
+Editor::location_flags_changed (Location *location)
 {
        ENSURE_GUI_THREAD (*this, &Editor::location_flags_changed, location, src)