From 6b3eb55ff6792aa3368e1bc7d51e3c52abb905d4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 10 Nov 2023 14:27:19 +0100 Subject: [PATCH] Fix Lua 1Hz timer signal (#9529) --- gtk2_ardour/luainstance.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/luainstance.cc b/gtk2_ardour/luainstance.cc index 70ddcac4c6..0de6a24078 100644 --- a/gtk2_ardour/luainstance.cc +++ b/gtk2_ardour/luainstance.cc @@ -1432,7 +1432,7 @@ void LuaInstance::set_session (Session* s) for (LuaCallbackMap::iterator i = _callbacks.begin(); i != _callbacks.end(); ++i) { i->second->set_session (s); } - second_connection = Timers::rapid_connect (sigc::mem_fun(*this, & LuaInstance::every_second)); + second_connection = Timers::second_connect (sigc::mem_fun(*this, & LuaInstance::every_second)); point_one_second_connection = Timers::rapid_connect (sigc::mem_fun(*this, & LuaInstance::every_point_one_seconds)); SetSession (); /* EMIT SIGNAL */ }