diff --git a/Cargo.toml b/Cargo.toml index a6709d9..14f4161 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ReSet-Lib" -version = "0.2.5" +version = "0.2.6" edition = "2021" description = "Data structure library for ReSet" repository = "https://github.com/Xetibo/ReSet-Lib" diff --git a/src/signals.rs b/src/signals.rs index 51555f4..9688196 100644 --- a/src/signals.rs +++ b/src/signals.rs @@ -98,7 +98,7 @@ impl GetVal<(AccessPoint,)> for AccessPointAdded { #[derive(Debug)] pub struct AccessPointRemoved { - pub access_point: Path<'static>, + pub access_point: AccessPoint, } impl arg::AppendAll for AccessPointRemoved { @@ -120,8 +120,8 @@ impl dbus::message::SignalArgs for AccessPointRemoved { const INTERFACE: &'static str = "org.xetibo.ReSet"; } -impl GetVal<(Path<'static>,)> for AccessPointRemoved { - fn get_value(&self) -> (Path<'static>,) { +impl GetVal<(AccessPoint,)> for AccessPointRemoved { + fn get_value(&self) -> (AccessPoint,) { (self.access_point.clone(),) } }