diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2014-12-25 22:02:00 +0700 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2015-01-01 19:04:14 +0700 |
commit | b5c9a92a584b70b2af172e7240d4a58b007e0608 (patch) | |
tree | 67b84500f6e7a516d684b9b52d4cf6784246240c /gtk2_ardour/return_ui.cc | |
parent | d606a37204a0603144cd3592bc9825f82e144741 (diff) |
Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers
Diffstat (limited to 'gtk2_ardour/return_ui.cc')
-rw-r--r-- | gtk2_ardour/return_ui.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/return_ui.cc b/gtk2_ardour/return_ui.cc index 16c4720577..b6412bbe7a 100644 --- a/gtk2_ardour/return_ui.cc +++ b/gtk2_ardour/return_ui.cc @@ -25,8 +25,8 @@ #include "return_ui.h" #include "io_selector.h" -#include "ardour_ui.h" #include "gui_thread.h" +#include "timers.h" #include "i18n.h" @@ -62,8 +62,8 @@ ReturnUI::ReturnUI (Gtk::Window* parent, boost::shared_ptr<Return> r, Session* s _gpm.setup_meters (); _gpm.set_fader_name (X_("ReturnUIFader")); - // screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect (sigc::mem_fun (*this, &ReturnUI::update)); - fast_screen_update_connection = ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect (sigc::mem_fun (*this, &ReturnUI::fast_update)); + // screen_update_connection = Timers::rapid_connect (sigc::mem_fun (*this, &ReturnUI::update)); + fast_screen_update_connection = Timers::super_rapid_connect (sigc::mem_fun (*this, &ReturnUI::fast_update)); } ReturnUI::~ReturnUI () |