diff options
Diffstat (limited to 'generic/threadshare/tests/pad.rs')
-rw-r--r-- | generic/threadshare/tests/pad.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/threadshare/tests/pad.rs b/generic/threadshare/tests/pad.rs index d958e4e77..91476c462 100644 --- a/generic/threadshare/tests/pad.rs +++ b/generic/threadshare/tests/pad.rs @@ -325,7 +325,7 @@ mod imp_src { impl ObjectImpl for ElementSrcTest { fn properties() -> &'static [glib::ParamSpec] { static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| { - vec![glib::ParamSpec::new_string( + vec![glib::ParamSpecString::new( "context", "Context", "Context name to share threads with", @@ -657,7 +657,7 @@ mod imp_sink { impl ObjectImpl for ElementSinkTest { fn properties() -> &'static [glib::ParamSpec] { static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| { - vec![glib::ParamSpec::new_boxed( + vec![glib::ParamSpecBoxed::new( "sender", "Sender", "Channel sender to forward the incoming items to", |