diff --git a/Cargo.lock b/Cargo.lock index 67ae5731..2c5913e5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3846,9 +3846,9 @@ dependencies = [ [[package]] name = "wayland-protocols" -version = "0.31.0" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e253d7107ba913923dc253967f35e8561a3c65f914543e46843c88ddd729e21c" +checksum = "8f81f365b8b4a97f422ac0e8737c438024b5951734506b0e1d775c73030561f4" dependencies = [ "bitflags 2.4.0", "wayland-backend", diff --git a/src/main.rs b/src/main.rs index 5deae779..43a81d35 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,7 +17,6 @@ use clap::Parser; use color_eyre::eyre::Result; use color_eyre::Report; use dirs::config_dir; -use glib::PropertySet; use gtk::gdk::Display; use gtk::prelude::*; use gtk::Application; @@ -79,7 +78,7 @@ fn run_with_args() { #[cfg(feature = "schema")] if args.print_schema { let schema = schemars::schema_for!(Config); - println!("{}", serde_json::to_string_pretty(&schema).unwrap()); + println!("{}", serde_json::to_string_pretty(&schema).expect("to be serializable")); return; } @@ -153,7 +152,7 @@ impl Ironbar { return; } - running.set(true); + running.store(true, Ordering::Relaxed); cfg_if! { if #[cfg(feature = "ipc")] {