diff --git a/.changes/gdk-monitor.md b/.changes/gdk-monitor.md new file mode 100644 index 000000000..ebf5a4579 --- /dev/null +++ b/.changes/gdk-monitor.md @@ -0,0 +1,5 @@ +--- +"tao": "patch" +--- + +Expose raw gdk monitor through `MonitorHandleExtUnix::gdk_monitor` diff --git a/.changes/gtk-monitor.md b/.changes/gtk-monitor.md deleted file mode 100644 index 82ebb417a..000000000 --- a/.changes/gtk-monitor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": "patch" ---- - -Expose raw gtk monitor through `MonitorHandleExtUnix::gtk_monitor` diff --git a/src/platform/unix.rs b/src/platform/unix.rs index 62f24bca1..386a0176d 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 - `gtk::Monitor`. - fn gtk_monitor(&self) -> >k::Monitor; + /// Returns the raw handle of the monitor - `gdk::Monitor`. + fn gdk_monitor(&self) -> >k::gdk::Monitor; } impl MonitorHandleExtUnix for MonitorHandle { #[inline] - fn gtk_monitor(&self) -> >k::Monitor { + fn gdk_monitor(&self) -> >k::gdk::Monitor { self.monitor } }