Remove redundant call (there's no session, nothing to save)
[ardour.git] / gtk2_ardour / panner_ui.cc
index 046e20a68a43a710d6187f5004a30a29d631f35b..d41a6a9719ac6f9f0006579b31338795e98bd5b1 100644 (file)
@@ -308,7 +308,7 @@ PannerUI::setup_pan ()
                twod_panner->set_size_request (-1, rintf(61.f * scale));
                twod_panner->set_send_drawing_mode (_send_mode);
 
-               /* and finally, add it to the panner frame */
+               /* and finally, add it to the panner sample */
 
                pan_vbox.pack_start (*twod_panner, false, false);
        }
@@ -345,7 +345,7 @@ PannerUI::start_touch (boost::weak_ptr<AutomationControl> wac)
        if (!ac) {
                return;
        }
-       ac->start_touch (ac->session().transport_frame());
+       ac->start_touch (ac->session().transport_sample());
 }
 
 void
@@ -355,7 +355,7 @@ PannerUI::stop_touch (boost::weak_ptr<AutomationControl> wac)
        if (!ac) {
                return;
        }
-       ac->stop_touch (ac->session().transport_frame());
+       ac->stop_touch (ac->session().transport_sample());
 }
 
 bool
@@ -535,14 +535,6 @@ PannerUI::pan_automation_state_changed ()
        }
 
        update_pan_sensitive ();
-
-       /* start watching automation so that things move */
-
-       pan_watching.disconnect();
-
-       if (x) {
-               pan_watching = Timers::rapid_connect (sigc::mem_fun (*this, &PannerUI::effective_pan_display));
-       }
 }
 
 string