From acedc88419964d002968cf4be79fbd1dd8c80221 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 7 Oct 2014 09:07:46 -0400 Subject: [PATCH] Listen to per-location signals for autopunch, not class-level signals Not used in tracks, but keeps the codebase correct --- gtk2_ardour/time_info_box.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/time_info_box.cc b/gtk2_ardour/time_info_box.cc index 5c0e51b0ad..46043b809b 100644 --- a/gtk2_ardour/time_info_box.cc +++ b/gtk2_ardour/time_info_box.cc @@ -328,8 +328,8 @@ TimeInfoBox::watch_punch (Location* punch) { punch_connections.drop_connections (); - punch->start_changed.connect (punch_connections, MISSING_INVALIDATOR, boost::bind (&TimeInfoBox::punch_changed, this, _1), gui_context()); - punch->end_changed.connect (punch_connections, MISSING_INVALIDATOR, boost::bind (&TimeInfoBox::punch_changed, this, _1), gui_context()); + punch->StartChanged.connect (punch_connections, MISSING_INVALIDATOR, boost::bind (&TimeInfoBox::punch_changed, this, punch), gui_context()); + punch->EndChanged.connect (punch_connections, MISSING_INVALIDATOR, boost::bind (&TimeInfoBox::punch_changed, this, punch), gui_context()); punch_changed (punch); }