GUI part of count/n_total API rename
authorRobin Gareus <robin@gareus.org>
Fri, 8 Apr 2016 13:53:32 +0000 (15:53 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 8 Apr 2016 16:16:23 +0000 (18:16 +0200)
gtk2_ardour/processor_box.cc

index ff6731e6e7f955755726e6620c41ec81f09ddd31..e980cd974c63ff9c3c5297b8cac9dcdb69e0932a 100644 (file)
@@ -1042,14 +1042,14 @@ ProcessorEntry::RoutingIcon::identity () const {
        if (!_in_map.is_monotonic () || !_in_map.is_identity ()) {
                return false;
        }
-       if (_in_map.count () != _sinks.n_total () || _in.n_total () != _sinks.n_total ()) {
+       if (_in_map.n_total () != _sinks.n_total () || _in.n_total () != _sinks.n_total ()) {
                return false;
        }
        if (_feed) {
                if (!_f_out_map.is_monotonic () || !_f_out_map.is_identity ()) {
                        return false;
                }
-               if (_f_out_map.count () != _f_sources.n_total () || _sinks != _f_sources) {
+               if (_f_out_map.n_total () != _f_sources.n_total () || _sinks != _f_sources) {
                        return false;
                }
        }
@@ -1061,10 +1061,10 @@ ProcessorEntry::RoutingIcon::out_identity () const {
        if (!_out_map.is_monotonic () || !_out_map.is_identity ()) {
                return false;
        }
-       if (_out_map.count () != _sources.n_total () || _out.n_total () != _sources.n_total ()) {
+       if (_out_map.n_total () != _sources.n_total () || _out.n_total () != _sources.n_total ()) {
                return false;
        }
-       if (_thru_map.count () > 0) {
+       if (_thru_map.n_total () > 0) {
                return false;
        }
        return true;