diff options
author | Robin Gareus <robin@gareus.org> | 2019-09-29 18:23:18 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-09-29 18:25:14 +0200 |
commit | c5b6b232a6ed251e256b13f4c0c3deed0792ab5b (patch) | |
tree | 0d1f72fa9421db68fd1a2128c9657211d3e1955a | |
parent | 70c523e0e8f376ce5e2d940051f6f2f5709ad76f (diff) |
Remove unused modal LatencyGUI Dialog
-rw-r--r-- | gtk2_ardour/latency_gui.cc | 11 | ||||
-rw-r--r-- | gtk2_ardour/latency_gui.h | 10 |
2 files changed, 0 insertions, 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<std::string> 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__ */ |