Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ralismark committed Mar 9, 2024
1 parent ac419bc commit 6f5cdd3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crates/eww/src/widgets/systray.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use futures::StreamExt;
use gtk::{cairo::Surface, gdk::ffi::gdk_cairo_surface_create_from_pixbuf, prelude::*};
use notifier_host;
use futures::StreamExt;

// DBus state shared between systray instances, to avoid creating too many connections etc.
struct DBusSession {
Expand All @@ -18,9 +18,7 @@ async fn dbus_session() -> zbus::Result<&'static DBusSession> {

let (_, snw) = notifier_host::register_as_host(&con).await?;

Ok(DBusSession {
snw,
})
Ok(DBusSession { snw })
})
.await
}
Expand Down

0 comments on commit 6f5cdd3

Please sign in to comment.