From c5b6b232a6ed251e256b13f4c0c3deed0792ab5b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 29 Sep 2019 18:23:18 +0200 Subject: Remove unused modal LatencyGUI Dialog --- gtk2_ardour/latency_gui.cc | 11 ----------- gtk2_ardour/latency_gui.h | 10 ---------- 2 files changed, 21 deletions(-) diff --git a/gtk2_ardour/latency_gui.cc b/gtk2_ardour/latency_gui.cc index c417edd5a9..1db8e502d1 100644 --- a/gtk2_ardour/latency_gui.cc +++ b/gtk2_ardour/latency_gui.cc @@ -163,14 +163,3 @@ LatencyGUI::change_latency_from_button (int dir) adjustment.set_value (adjustment.get_value() - shift); } } - -LatencyDialog::LatencyDialog (const std::string& title, Latent& l, samplepos_t sr, samplepos_t psz) - : ArdourDialog (title, false, true), - lwidget (l, sr, psz) -{ - get_vbox()->pack_start (lwidget); - add_button (Stock::CLOSE, RESPONSE_CLOSE); - - show_all (); - run (); -} diff --git a/gtk2_ardour/latency_gui.h b/gtk2_ardour/latency_gui.h index cfe0982cf4..a775b236e7 100644 --- a/gtk2_ardour/latency_gui.h +++ b/gtk2_ardour/latency_gui.h @@ -92,14 +92,4 @@ private: static std::vector unit_strings; }; -class LatencyDialog : public ArdourDialog -{ - public: - LatencyDialog (const std::string& title, ARDOUR::Latent&, samplepos_t sample_rate, samplepos_t period_size); - ~LatencyDialog() {} - - private: - LatencyGUI lwidget; -}; - #endif /* __gtk2_ardour_latency_gui_h__ */ -- cgit v1.2.3