Skip to content

Commit

Permalink
Merge pull request #8 from pnevyk/remove-dbus-proxy-warning
Browse files Browse the repository at this point in the history
Get rid off dbus_proxy warning about defaults
  • Loading branch information
segevfiner authored Nov 29, 2022
2 parents af86b79 + 5ea541b commit 7519308
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ features = [
]

[target.'cfg(target_os = "linux")'.dependencies]
zbus = "3.1.0"
zbus = "3.5.0"

[target.'cfg(target_os = "macos")'.dependencies]
apple-sys = { version = "0.1.2", features = ["CoreFoundation", "IOKit"] }
Expand Down
2 changes: 1 addition & 1 deletion src/sys/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ trait Manager {
) -> zbus::Result<zbus::zvariant::OwnedFd>;
}

#[dbus_proxy]
#[dbus_proxy(assume_defaults = true)]
trait ScreenSaver {
/// Inhibit method
fn inhibit(&self, application_name: &str, reason_for_inhibit: &str) -> zbus::Result<u32>;
Expand Down

0 comments on commit 7519308

Please sign in to comment.