From 93bec2ffca1df81fdd0a5188f2453f018403e78c Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Thu, 22 Oct 2015 13:59:52 -0700 Subject: Fix typo in WindowExt::get_xlib_display --- src/os/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os') diff --git a/src/os/unix.rs b/src/os/unix.rs index 4fef6ef..d206351 100644 --- a/src/os/unix.rs +++ b/src/os/unix.rs @@ -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 } } -- cgit v1.2.3