diff --git a/src/lib.rs b/src/lib.rs index f7c780e..d3db74e 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,7 +19,6 @@ extern crate libc; #[phase(plugin, link)] extern crate log; extern crate opengles; -extern crate std; extern crate serialize; #[cfg(target_os="macos")] diff --git a/src/platform/linux/surface.rs b/src/platform/linux/surface.rs index 62765dc..e994618 100644 --- a/src/platform/linux/surface.rs +++ b/src/platform/linux/surface.rs @@ -28,9 +28,9 @@ use opengles::gl2; use std::c_str::CString; use std::mem; use std::ptr; -use xlib::xlib::{Display, Pixmap, XCreateGC, XCreateImage, XCreatePixmap, XDefaultScreen}; -use xlib::xlib::{XDisplayString, XFreePixmap, XGetGeometry, XOpenDisplay, XPutImage, XRootWindow}; -use xlib::xlib::{XVisualInfo, ZPixmap}; +use xlib::{Display, Pixmap, XCreateGC, XCreateImage, XCreatePixmap, XDefaultScreen}; +use xlib::{XDisplayString, XFreePixmap, XGetGeometry, XOpenDisplay, XPutImage, XRootWindow}; +use xlib::{XVisualInfo, ZPixmap}; /// The display and visual info. This is needed in order to upload on the painting side. This /// holds a weak reference to the display and will not close it when done.