Skip to content

Commit

Permalink
Remove outdated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirius902 committed Jul 14, 2024
1 parent 0c6d531 commit 39b7f1b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions crates/gcfeeder/src/gui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@ pub fn run() -> eframe::Result<()> {
.init()
.expect("Failed to set logger");

#[cfg(target_os = "linux")]
{
if env::var("XDG_SESSION_TYPE")
.map(|ty| ty == "wayland")
.unwrap_or(false)
{
::log::warn!("Hiding the window is not supported on Wayland");
}
}

const ICON_FILE: &[u8] = include_bytes!("../../resource/icon.png");

let icon = image::load_from_memory(ICON_FILE).unwrap();
Expand Down

0 comments on commit 39b7f1b

Please sign in to comment.