add const_cast to avoid compiler warnings from apple gcc
[ardour.git] / gtk2_ardour / route_params_ui.cc
index be5b6663f024288fb774d67fef0e966e521e52e8..82e6f10a15fddc7576898016f497e4879a8fc681 100644 (file)
@@ -46,6 +46,7 @@
 #include "return_ui.h"
 #include "route_params_ui.h"
 #include "send_ui.h"
+#include "timers.h"
 
 #include "i18n.h"
 
@@ -642,7 +643,7 @@ RouteParams_UI::update_title ()
 void
 RouteParams_UI::start_updating ()
 {
-       update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect
+       update_connection = Timers::rapid_connect
                (sigc::mem_fun(*this, &RouteParams_UI::update_views));
 }