summaryrefslogtreecommitdiff
path: root/libs/ardour/control_protocol_manager.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-05-12 17:49:09 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2017-05-12 17:49:09 +0100
commit7021d02782ef9c8a15a0b2cd0762c12a8d87c470 (patch)
tree8d95182cca7111a44558a907a5cc81d219d7bac7 /libs/ardour/control_protocol_manager.cc
parent38285d0e543a9501d2b1bc8ec6539656740fc50e (diff)
don't actually use a method from libardourcp inside libardour; use a PBD::Signal to avoid linker issues
Diffstat (limited to 'libs/ardour/control_protocol_manager.cc')
-rw-r--r--libs/ardour/control_protocol_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/control_protocol_manager.cc b/libs/ardour/control_protocol_manager.cc
index 338ea816f2..a84ee9eb6e 100644
--- a/libs/ardour/control_protocol_manager.cc
+++ b/libs/ardour/control_protocol_manager.cc
@@ -42,7 +42,7 @@ using namespace PBD;
ControlProtocolManager* ControlProtocolManager::_instance = 0;
const string ControlProtocolManager::state_node_name = X_("ControlProtocols");
-
+PBD::Signal1<void,StripableNotificationListPtr> ControlProtocolManager::StripableSelectionChanged;
ControlProtocolInfo::~ControlProtocolInfo ()
{
@@ -566,7 +566,7 @@ ControlProtocolManager::stripable_selection_changed (StripableNotificationListPt
*/
DEBUG_TRACE (DEBUG::Selection, string_compose ("Surface manager: selection changed, now %1 stripables\n", sp ? sp->size() : -1));
- ControlProtocol::notify_stripable_selection_changed (sp);
+ StripableSelectionChanged (sp); /* EMIT SIGNAL */
/* now give each protocol the chance to respond to the selection change
*/