feat!: update zbus from 4.x to 5.x
This commit is contained in:
parent
ce56237ab9
commit
25322e0263
3 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ pub fn subscription<App: ApplicationExt>() -> Subscription<crate::Action<App::Me
|
|||
iced::stream::channel(10, move |mut output| async move {
|
||||
let mut single_instance: DbusActivation = DbusActivation::new();
|
||||
let mut rx = single_instance.rx();
|
||||
if let Ok(builder) = zbus::ConnectionBuilder::session() {
|
||||
if let Ok(builder) = zbus::connection::Builder::session() {
|
||||
let path: String = format!("/{}", App::APP_ID.replace('.', "/"));
|
||||
if let Ok(conn) = builder.build().await {
|
||||
// XXX Setup done this way seems to be more reliable.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue