set_urgent on mac throws a warning (#867)

On mac, compiling throws a warning due to `is_urgent` not being used within `set_urgent`. This can be changed just by using an underscore instead.
This commit is contained in:
Ty Coghlan 2017-10-26 21:48:11 -04:00 committed by Joe Wilm
parent 22ccd7b4b1
commit 7c4e84c695
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ impl Window {
}
#[cfg(not(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "openbsd")))]
pub fn set_urgent(&self, is_urgent: bool) {
pub fn set_urgent(&self, _: bool) {
}
#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "openbsd"))]