Merge pull request #488 from tomaka/rem-is-closed
Remove the is_closed function
This commit is contained in:
commit
7773996d7b
17 changed files with 72 additions and 176 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue