Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend-Master committed Nov 15, 2024
1 parent caf54a6 commit 713568a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/platform/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) -> &gtk::gdk::Monitor;
/// Returns the raw handle of the monitor - `gtk::Monitor`.
fn gtk_monitor(&self) -> &gtk::Monitor;
}

impl MonitorHandleExtUnix for MonitorHandle {
#[inline]
fn gtk_monitor(&self) -> &gtk::gdk::Monitor {
fn gtk_monitor(&self) -> &gtk::Monitor {
self.monitor
}
}

0 comments on commit 713568a

Please sign in to comment.