diff options
Diffstat (limited to 'libsecret/src/schema_attribute.rs')
-rw-r--r-- | libsecret/src/schema_attribute.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libsecret/src/schema_attribute.rs b/libsecret/src/schema_attribute.rs deleted file mode 100644 index 562381a..0000000 --- a/libsecret/src/schema_attribute.rs +++ /dev/null @@ -1,12 +0,0 @@ -use crate::{SchemaAttribute, SchemaAttributeType}; -use glib::translate::*; - -impl SchemaAttribute { - pub fn type_(&self) -> SchemaAttributeType { - unsafe { from_glib((*(self.as_ptr())).type_) } - } - - pub fn name(&self) -> glib::GString { - unsafe { from_glib_none((*(self.as_ptr())).name) } - } -} |