Skip to content

Commit

Permalink
chore: Add full access point on removal event
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed Nov 13, 2023
1 parent 101faff commit 74c0790
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions src/signals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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(),)
}
}

0 comments on commit 74c0790

Please sign in to comment.