summaryrefslogtreecommitdiff
path: root/gtk2_ardour/bundle_manager.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-01-27 04:21:13 +0000
committerCarl Hetherington <carl@carlh.net>2009-01-27 04:21:13 +0000
commit9cc7b452ebb8fe8f348ad6aad18054703700da18 (patch)
treea54d33c5f608b321823665baec607ee4f83d5f70 /gtk2_ardour/bundle_manager.cc
parent7e1b86aceeef477e13b4c35f524034d909acd92c (diff)
First cut at mouseovers for the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@4446 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/bundle_manager.cc')
-rw-r--r--gtk2_ardour/bundle_manager.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/bundle_manager.cc b/gtk2_ardour/bundle_manager.cc
index 04bf240f7c..0f4bdb3c75 100644
--- a/gtk2_ardour/bundle_manager.cc
+++ b/gtk2_ardour/bundle_manager.cc
@@ -36,7 +36,7 @@ BundleEditorMatrix::BundleEditorMatrix (
: PortMatrix (session, bundle->type(), bundle->ports_are_inputs())
{
_port_group = new PortGroup ("", true);
- _port_group->bundles.push_back (bundle);
+ _port_group->add_bundle (bundle);
_row_ports.push_back (_port_group);
}
@@ -93,14 +93,14 @@ BundleEditorMatrix::add_channel (boost::shared_ptr<ARDOUR::Bundle> b)
return;
}
- _port_group->bundles.front()->add_channel (d.get_name());
+ _port_group->only_bundle()->add_channel (d.get_name());
setup ();
}
void
BundleEditorMatrix::remove_channel (boost::shared_ptr<ARDOUR::Bundle> b, uint32_t c)
{
- _port_group->bundles.front()->remove_channel (c);
+ _port_group->only_bundle()->remove_channel (c);
setup ();
}