Don't use a timer to update panner-UIs, rely on Changed signal
authorRobin Gareus <robin@gareus.org>
Sun, 31 Dec 2017 17:14:24 +0000 (18:14 +0100)
committerRobin Gareus <robin@gareus.org>
Sun, 31 Dec 2017 17:15:34 +0000 (18:15 +0100)
gtk2_ardour/panner_ui.cc
gtk2_ardour/panner_ui.h

index 60f6fa8f6a8684d04f29389394fd6d95d346396c..d41a6a9719ac6f9f0006579b31338795e98bd5b1 100644 (file)
@@ -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
index 90c3f5ecaabfc37edd6c9147edef03ad22b599e3..f3986e24a94b3e067f3bff157c52049ddd1cb32d 100644 (file)
@@ -140,7 +140,6 @@ private:
 
        void pan_automation_state_changed();
        gint pan_automation_state_button_event (GdkEventButton *);
-       sigc::connection pan_watching;
 
        std::string astate_string (ARDOUR::AutoState);
        std::string short_astate_string (ARDOUR::AutoState);