GenericUI: subscribe to property changes before querying values
[ardour.git] / gtk2_ardour / port_matrix_body.cc
index 83864a607c690bb74dc3c699bb8b6b38071ded82..c07a6dc529f60a3de162a047ca086bcf251f90a7 100644 (file)
@@ -28,7 +28,7 @@
 #include "port_matrix_row_labels.h"
 #include "port_matrix_grid.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 
@@ -471,7 +471,7 @@ PortMatrixBody::highlight_associated_channels (int dim, ARDOUR::BundleChannel h)
        PortGroup::BundleList const b = _matrix->visible_ports(1 - dim)->bundles ();
 
        for (PortGroup::BundleList::const_iterator i = b.begin(); i != b.end(); ++i) {
-               for (uint32_t j = 0; j < (*i)->bundle->nchannels().n_total(); ++j) {
+               for (uint32_t j = 0; j < (*i)->bundle->nchannels().n_total(); ++j) {
 
                        if (!_matrix->should_show ((*i)->bundle->channel_type(j))) {
                                continue;