Remove the is_closed function

This commit is contained in:
Pierre Krieger 2015-06-16 13:48:08 +02:00
parent eb73c2514e
commit 39128dd7e1
17 changed files with 72 additions and 176 deletions

View file

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