Bundle API user update 2/2
authorRobin Gareus <robin@gareus.org>
Sun, 8 Mar 2015 21:40:00 +0000 (22:40 +0100)
committerRobin Gareus <robin@gareus.org>
Sun, 8 Mar 2015 21:40:00 +0000 (22:40 +0100)
cherry-pickable follow up to 0582221

gtk2_ardour/port_matrix.cc

index b3b5a91ed34a9b404a6adeffc3cf7f86f7230f6a..ebf6413d39b73921b5293f9897994545a01a9849 100644 (file)
@@ -152,8 +152,7 @@ PortMatrix::init ()
        _session->RouteAdded.connect (_session_connections, invalidator (*this), boost::bind (&PortMatrix::routes_changed, this), gui_context());
 
        /* and also bundles */
-       _session->BundleAdded.connect (_session_connections, invalidator (*this), boost::bind (&PortMatrix::setup_global_ports, this), gui_context());
-       _session->BundleRemoved.connect (_session_connections, invalidator (*this), boost::bind (&PortMatrix::setup_global_ports, this), gui_context());
+       _session->BundleAddedOrRemoved.connect (_session_connections, invalidator (*this), boost::bind (&PortMatrix::setup_global_ports, this), gui_context());
 
        /* and also ports */
        _session->engine().PortRegisteredOrUnregistered.connect (_session_connections, invalidator (*this), boost::bind (&PortMatrix::setup_global_ports, this), gui_context());