13
0

remove all dangling event-loop-precall code

This commit is contained in:
Paul Davis 2021-10-11 17:48:44 -06:00
parent 9adc336d50
commit 9e763c2672
8 changed files with 0 additions and 29 deletions

View File

@ -3119,8 +3119,3 @@ ARDOUR_UI::setup_toplevel_window (Gtk::Window& window, const string& name, void*
window.signal_key_release_event().connect (sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::key_event_handler), &window), false); window.signal_key_release_event().connect (sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::key_event_handler), &window), false);
} }
void
ARDOUR_UI::event_loop_precall ()
{
Temporal::TempoMap::fetch ();
}

View File

@ -410,8 +410,6 @@ protected:
void toggle_rc_options_window (); void toggle_rc_options_window ();
void toggle_session_options_window (); void toggle_session_options_window ();
void event_loop_precall ();
private: private:
Gtk::Window _main_window; Gtk::Window _main_window;

View File

@ -176,7 +176,3 @@ BaseUI::attach_request_source ()
request_channel.attach (m_context); request_channel.attach (m_context);
} }
void
BaseUI::event_loop_precall ()
{
}

View File

@ -75,12 +75,6 @@ class LIBPBD_API BaseUI : public sigc::trackable, public PBD::EventLoop
*/ */
void quit (); void quit ();
/* derived classes can override this in order to call code once per
main loop iteration (i.e. before any event dispatching is done
within the main loop)
*/
virtual void event_loop_precall ();
protected: protected:
bool _ok; bool _ok;

View File

@ -380,9 +380,3 @@ ControlProtocol::notify_stripable_selection_changed (StripableNotificationListPt
_last_selected = *sp; _last_selected = *sp;
} }
void
ControlProtocol::event_loop_precall ()
{
Temporal::TempoMap::fetch ();
}

View File

@ -141,8 +141,6 @@ public:
static StripableNotificationList const& last_selected () { return _last_selected; } static StripableNotificationList const& last_selected () { return _last_selected; }
static void notify_stripable_selection_changed (StripableNotificationListPtr); static void notify_stripable_selection_changed (StripableNotificationListPtr);
void event_loop_precall ();
protected: protected:
void next_track (uint32_t initial_id); void next_track (uint32_t initial_id);
void prev_track (uint32_t initial_id); void prev_track (uint32_t initial_id);

View File

@ -204,8 +204,6 @@ private:
bool midi_input_handler (Glib::IOCondition ioc, boost::weak_ptr<ARDOUR::AsyncMIDIPort> port); bool midi_input_handler (Glib::IOCondition ioc, boost::weak_ptr<ARDOUR::AsyncMIDIPort> port);
void start_midi_handling (); void start_midi_handling ();
void stop_midi_handling (); void stop_midi_handling ();
void event_loop_precall () { ControlProtocol::event_loop_precall(); }
}; };
#endif /* ardour_generic_midi_control_protocol_h */ #endif /* ardour_generic_midi_control_protocol_h */

View File

@ -276,8 +276,6 @@ class MackieControlProtocol
bool stripable_is_locked_to_strip (boost::shared_ptr<ARDOUR::Stripable>) const; bool stripable_is_locked_to_strip (boost::shared_ptr<ARDOUR::Stripable>) const;
void event_loop_precall () { ControlProtocol::event_loop_precall(); }
private: private:
struct ButtonHandlers { struct ButtonHandlers {