Skip to content

Commit

Permalink
backend/demo: Make it buildable again
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Oct 18, 2024
1 parent 25d0603 commit c7a6658
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend-demo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ nix = { version = "0.29", features = ["user"], default-features = false}
tracing = "0.1"
tracing-subscriber = "0.3.16"
url = "2.3.1"
zbus = "4.2"
zbus = "5.0"

[dependencies.ashpd]
path = "../"
Expand Down
2 changes: 1 addition & 1 deletion backend-demo/src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mod fdo_account {
interface = "org.freedesktop.Accounts.User",
gen_blocking = false
)]
trait Accounts {
pub trait Accounts {
#[zbus(property, name = "IconFile")]
fn icon_file(&self) -> zbus::Result<String>;
#[zbus(property, name = "UserName")]
Expand Down
2 changes: 1 addition & 1 deletion backend-demo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async fn main() -> ashpd::Result<()> {
// Enable debug with `RUST_LOG=ashpd_backend_demo=debug COMMAND`.
tracing_subscriber::fmt::init();

let cnx = zbus::ConnectionBuilder::session()?
let cnx = zbus::connection::Builder::session()?
.name(NAME)?
.build()
.await?;
Expand Down

0 comments on commit c7a6658

Please sign in to comment.