diff options
author | Vika <vika@fireburn.ru> | 2025-01-30 08:49:22 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-01-30 08:49:22 +0300 |
commit | 62263e0e619625f2c5dd0b4364b43bd4fefc8ccd (patch) | |
tree | c796d7f78c2205dff77eacb02d43024a254c6d67 /libsecret/src/retrievable.rs | |
parent | 320de85d04061ccc3ce50fb9a460a28068f7146a (diff) | |
download | bowl-62263e0e619625f2c5dd0b4364b43bd4fefc8ccd.tar.zst |
libsecret: 0.6.0 (private fork) -> 0.7.0 (upstream)
libsecret is now maintained again! No need for a private fork.
Diffstat (limited to 'libsecret/src/retrievable.rs')
-rw-r--r-- | libsecret/src/retrievable.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/libsecret/src/retrievable.rs b/libsecret/src/retrievable.rs deleted file mode 100644 index 617d8e3..0000000 --- a/libsecret/src/retrievable.rs +++ /dev/null @@ -1,20 +0,0 @@ -use std::collections::HashMap; - -use crate::Retrievable; -use glib::object::IsA; -use glib::translate::*; - -pub trait RetrievableExtManual: 'static { - #[doc(alias = "secret_retrievable_get_attributes")] - #[doc(alias = "get_attributes")] - fn attributes(&self) -> HashMap<String, String>; -} - -impl<O: IsA<Retrievable>> RetrievableExtManual for O { - fn attributes(&self) -> HashMap<String, String> { - unsafe { - let table = ffi::secret_retrievable_get_attributes(self.as_ref().to_glib_none().0); - FromGlibPtrContainer::from_glib_full(table) - } - } -} |