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/streamview.cc | |
parent | d606a37204a0603144cd3592bc9825f82e144741 (diff) |
Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers
Diffstat (limited to 'gtk2_ardour/streamview.cc')
-rw-r--r-- | gtk2_ardour/streamview.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc index 18953aee09..24c28d7957 100644 --- a/gtk2_ardour/streamview.cc +++ b/gtk2_ardour/streamview.cc @@ -41,6 +41,7 @@ #include "selection.h" #include "public_editor.h" #include "ardour_ui.h" +#include "timers.h" #include "rgb_macros.h" #include "gui_thread.h" #include "utils.h" @@ -434,8 +435,7 @@ StreamView::create_rec_box(framepos_t frame_pos, double width) rec_rects.push_back (recbox); screen_update_connection.disconnect(); - screen_update_connection = ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect( - sigc::mem_fun(*this, &StreamView::update_rec_box)); + screen_update_connection = Timers::rapid_connect (sigc::mem_fun(*this, &StreamView::update_rec_box)); rec_updating = true; rec_active = true; |