destroy splash when hiding it to workaround odd bug on OS X where the window will...
[ardour.git] / gtk2_ardour / bundle_manager.cc
index 5940a624504c001fc179e05b2d625dde8eeaed85..9dff8f82d2d5570aaa38f992807994a996ab8a16 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "ardour/session.h"
 #include "ardour/user_bundle.h"
-#include "ardour/audioengine.h"
 #include "bundle_manager.h"
 #include "gui_thread.h"
 #include "i18n.h"
@@ -101,13 +100,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