mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
Merge pull request #488 from tomaka/rem-is-closed
Remove the is_closed function
This commit is contained in:
@@ -155,13 +155,6 @@ impl Window {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn is_closed(&self) -> bool {
|
||||
match self {
|
||||
&Window::X(ref w) => w.is_closed(),
|
||||
&Window::Wayland(ref w) => w.is_closed()
|
||||
}
|
||||
}
|
||||
|
||||
pub fn set_title(&self, title: &str) {
|
||||
match self {
|
||||
&Window::X(ref w) => w.set_title(title),
|
||||
|
||||
Reference in New Issue
Block a user