Remove AsyncAppContext::remove_window

This commit is contained in:
Nathan Sobo 2023-08-08 11:22:43 -06:00
parent fe6a1886c1
commit 1fd80ba8bd
2 changed files with 1 additions and 5 deletions

View file

@ -411,10 +411,6 @@ impl AsyncAppContext {
self.update(|cx| cx.add_window(window_options, build_root_view))
}
pub fn remove_window(&mut self, window: AnyWindowHandle) {
self.update_window(window, |cx| cx.remove_window());
}
pub fn activate_window(&mut self, window: AnyWindowHandle) {
self.update_window(window, |cx| cx.activate_window());
}