use new ::slaved_to() method in VCA master strip
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 19 May 2016 14:45:28 +0000 (10:45 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 31 May 2016 19:30:43 +0000 (15:30 -0400)
gtk2_ardour/vca_master_strip.cc

index f0e7cfac90abdb9f66b59065d9389b82cdea2a14..be7680bc06ec8edb6237430b2014137983025bdf 100644 (file)
@@ -192,7 +192,7 @@ VCAMasterStrip::update_vca_display ()
        string label;
 
        for (VCAList::iterator v = vcas.begin(); v != vcas.end(); ++v) {
-               if (_vca->gain_control()->slaved_to ((*v)->gain_control())) {
+               if (_vca->slaved_to (*v)) {
                        if (!label.empty()) {
                                label += ' ';
                        }