diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc index 8354b54a2a..7f658b9816 100644 --- a/gtk2_ardour/location_ui.cc +++ b/gtk2_ardour/location_ui.cc @@ -761,8 +761,6 @@ LocationUI::LocationUI (std::string state_node_name) _clock_group = new ClockGroup; - ARDOUR_UI::instance()->primary_clock->mode_changed.connect (sigc::mem_fun(*this, &LocationUI::set_clock_mode_from_primary)); - VBox* vbox = manage (new VBox); Table* table = manage (new Table (2, 2)); @@ -1105,13 +1103,6 @@ LocationUI::refresh_location_list () } } -void -LocationUI::set_clock_mode_from_primary () -{ - _clock_group->set_clock_mode (ARDOUR_UI::instance()->primary_clock->mode()); - _mode_set = true; -} - void LocationUI::set_session(ARDOUR::Session* s) { diff --git a/gtk2_ardour/location_ui.h b/gtk2_ardour/location_ui.h index d24dc840b3..2cd69b834c 100644 --- a/gtk2_ardour/location_ui.h +++ b/gtk2_ardour/location_ui.h @@ -215,8 +215,6 @@ private: bool _mode_set; std::string _state_node_name; - - void set_clock_mode_from_primary (); }; class LocationUIWindow : public ArdourWindow