Fix typo in WindowExt::get_xlib_display

This commit is contained in:
Matt Brubeck 2015-10-22 13:59:52 -07:00
parent 6cefaa12be
commit 93bec2ffca

View file

@ -33,7 +33,7 @@ impl WindowExt for Window {
#[inline]
fn get_xlib_display(&self) -> Option<*mut libc::c_void> {
match self.window {
LinuxWindow::X(ref w) => Some(w.get_xlib_window()),
LinuxWindow::X(ref w) => Some(w.get_xlib_display()),
_ => None
}
}