diff options
author | Robin Gareus <robin@gareus.org> | 2014-08-30 20:57:22 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-08-30 20:57:22 +0200 |
commit | 16443f44a2664bef2b3cd4c33ecaa34e8b453e1b (patch) | |
tree | 93e82144201e5ab5c48ab3257f7d900f4621c5a2 /gtk2_ardour/ardour_ui_dialogs.cc | |
parent | 01864b43e08953b89db5ff7995427a1498487a13 (diff) |
add an idle callback at FPS
Diffstat (limited to 'gtk2_ardour/ardour_ui_dialogs.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_dialogs.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc index f23e91069e..198e1cc86a 100644 --- a/gtk2_ardour/ardour_ui_dialogs.cc +++ b/gtk2_ardour/ardour_ui_dialogs.cc @@ -183,6 +183,7 @@ ARDOUR_UI::set_session (Session *s) second_connection = Glib::signal_timeout().connect (sigc::mem_fun(*this, &ARDOUR_UI::every_second), 1000); point_one_second_connection = Glib::signal_timeout().connect (sigc::mem_fun(*this, &ARDOUR_UI::every_point_one_seconds), 100); point_zero_something_second_connection = Glib::signal_timeout().connect (sigc::mem_fun(*this, &ARDOUR_UI::every_point_zero_something_seconds), 40); + set_fps_timeout_connection(); update_format (); @@ -274,6 +275,7 @@ ARDOUR_UI::unload_session (bool hide_stuff) second_connection.disconnect (); point_one_second_connection.disconnect (); point_zero_something_second_connection.disconnect(); + fps_connection.disconnect(); if (editor_meter) { meter_box.remove(*editor_meter); |