diff --git a/src/platform/unix.rs b/src/platform/unix.rs index 39daff190..62f24bca1 100644 --- a/src/platform/unix.rs +++ b/src/platform/unix.rs @@ -286,13 +286,13 @@ unsafe extern "C" fn x_error_callback( /// Additional methods on `MonitorHandle` that are specific to Unix. pub trait MonitorHandleExtUnix { - /// Returns the raw handle of the monitor - `gdk::Monitor`. - fn gtk_monitor(&self) -> >k::gdk::Monitor; + /// Returns the raw handle of the monitor - `gtk::Monitor`. + fn gtk_monitor(&self) -> >k::Monitor; } impl MonitorHandleExtUnix for MonitorHandle { #[inline] - fn gtk_monitor(&self) -> >k::gdk::Monitor { + fn gtk_monitor(&self) -> >k::Monitor { self.monitor } }