Rename can_add_channel slightly and add mysteriously-missing calls to it so that...
[ardour.git] / gtk2_ardour / bundle_manager.cc
index 5940a624504c001fc179e05b2d625dde8eeaed85..1c89f7b3cdfb28ce68364e1a842424e8983dac65 100644 (file)
@@ -101,13 +101,13 @@ BundleEditorMatrix::get_state (BundleChannel c[2]) const
 }
 
 bool
-BundleEditorMatrix::can_add_channel (boost::shared_ptr<Bundle> b) const
+BundleEditorMatrix::can_add_channels (boost::shared_ptr<Bundle> b) const
 {
        if (b == _bundle) {
                return true;
        }
 
-       return PortMatrix::can_add_channel (b);
+       return PortMatrix::can_add_channels (b);
 }
 
 void