diff --git a/src/model/key_val.rs b/src/model/key_val.rs index d65fa873..5cbee177 100644 --- a/src/model/key_val.rs +++ b/src/model/key_val.rs @@ -12,7 +12,6 @@ mod imp { #[derive(Debug, Default, Properties)] #[properties(wrapper_type = super::KeyVal)] - pub(crate) struct KeyVal { #[property(get, set)] pub(super) key: RefCell, diff --git a/src/model/process.rs b/src/model/process.rs index 8f8e31cc..52ee3104 100644 --- a/src/model/process.rs +++ b/src/model/process.rs @@ -13,7 +13,6 @@ mod imp { #[derive(Debug, Default, Properties)] #[properties(wrapper_type = super::Process)] - pub(crate) struct Process { #[property(get, set, construct_only, nullable)] pub(super) process_list: glib::WeakRef, diff --git a/src/utils.rs b/src/utils.rs index 32701f01..1088463c 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -196,7 +196,7 @@ impl<'a, C, P> Dialog<'a, C, P> { } } -impl<'a, C, P> Dialog<'a, C, P> +impl Dialog<'_, C, P> where C: IsA, P: IsA,