fix inline display when cairo_surface_has_snapshots
[ardour.git] / gtk2_ardour / mixer_actor.cc
index 7ffcc6f3a8698213f7f1546fe63bf917e6cc30fb..41b2c87f5fd98e97752fa6ad0ecd96a1f96c28d0 100644 (file)
@@ -172,7 +172,7 @@ printf("setting gain to unity (?)");
        BOOST_FOREACH(RouteUI* r, _route_targets) {
                boost::shared_ptr<Route> rp = r->route();
                if (rp) {
-                       rp->set_gain (1.0, Controllable::NoGroup);
+                       rp->gain_control()->set_value (1.0, Controllable::NoGroup);
                }
        }
 }
@@ -254,26 +254,28 @@ void
 MixerActor::vca_assign (boost::shared_ptr<VCA> vca)
 {
        set_route_targets_for_operation ();
-
+#if 0
        BOOST_FOREACH(RouteUI* r, _route_targets) {
                MixerStrip* ms = dynamic_cast<MixerStrip*> (r);
                if (ms) {
                        ms->vca_assign (vca);
                }
        }
+#endif
 }
 
 void
 MixerActor::vca_unassign (boost::shared_ptr<VCA> vca)
 {
        set_route_targets_for_operation ();
-
+#if 0
        BOOST_FOREACH(RouteUI* r, _route_targets) {
                MixerStrip* ms = dynamic_cast<MixerStrip*> (r);
                if (ms) {
                        ms->vca_unassign (vca);
                }
        }
+#endif
 }