From 57bd915d66decfc297ca987327c7fb1a2649ddaf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 20 May 2012 21:56:33 +0000 Subject: Rename can_add_channel slightly and add mysteriously-missing calls to it so that you don't get offered the chance to add ports where none can be added. git-svn-id: svn://localhost/ardour2/branches/3.0@12349 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/port_matrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/port_matrix.h') diff --git a/gtk2_ardour/port_matrix.h b/gtk2_ardour/port_matrix.h index 75b2abf279..be276c0484 100644 --- a/gtk2_ardour/port_matrix.h +++ b/gtk2_ardour/port_matrix.h @@ -141,7 +141,7 @@ public: virtual PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const = 0; virtual bool list_is_global (int) const = 0; - virtual bool can_add_channel (boost::shared_ptr) const; + virtual bool can_add_channels (boost::shared_ptr) const; virtual void add_channel (boost::shared_ptr, ARDOUR::DataType); virtual bool can_remove_channels (boost::shared_ptr) const; virtual void remove_channel (ARDOUR::BundleChannel); -- cgit v1.2.3