Merge pull request #488 from tomaka/rem-is-closed

Remove the is_closed function
This commit is contained in:
tomaka 2015-06-17 07:36:16 +02:00
commit 7773996d7b
17 changed files with 72 additions and 176 deletions

View file

@ -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),