Remove the is_closed function
This commit is contained in:
parent
eb73c2514e
commit
39128dd7e1
17 changed files with 72 additions and 176 deletions
|
|
@ -154,13 +154,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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue