fix: dbus_error usage with zbus 4
This commit is contained in:
parent
d8c81ce3fb
commit
4613fbb184
1 changed files with 2 additions and 2 deletions
|
|
@ -36,9 +36,9 @@ fn run_as_user<F: FnOnce() -> T, T>(user: &pwd::Passwd, f: F) -> Result<T, io::E
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(DBusError, Debug)]
|
#[derive(DBusError, Debug)]
|
||||||
#[dbus_error(prefix = "com.system76.CosmicGreeter")]
|
#[zbus(prefix = "com.system76.CosmicGreeter")]
|
||||||
enum GreeterError {
|
enum GreeterError {
|
||||||
#[dbus_error(zbus_error)]
|
#[zbus(error)]
|
||||||
ZBus(zbus::Error),
|
ZBus(zbus::Error),
|
||||||
Ron(String),
|
Ron(String),
|
||||||
RunAsUser(String),
|
RunAsUser(String),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue