Add missing gfx dbus signal

This commit is contained in:
Luke D Jones
2020-09-21 20:41:28 +12:00
parent 0063f3f0fc
commit 4e4ea0035e
10 changed files with 67 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "asus-notify"
version = "1.0.0"
version = "1.0.1"
authors = ["Luke D Jones <luke@ljones.dev>"]
edition = "2018"

View File

@@ -21,7 +21,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
std::thread::sleep(Duration::from_millis(100));
connection.process(std::time::Duration::from_millis(200))?;
if let Ok(mut lock) = signals.gfx_signal.lock() {
if let Ok(mut lock) = signals.gfx_vendor_signal.lock() {
if let Some(vendor) = lock.take() {
if let Some(notif) = last_gfx_notif.take() {
notif.close();