diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-11-20 13:25:14 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-11-20 15:31:06 +0300 |
commit | 55aad51141907ea7834eb0cbcdf6f92e3fdce5d1 (patch) | |
tree | f556878f25667e079ce6d0dac96bda76f5f8be31 /text/regex | |
parent | 288acaa7ccb596e63af47b8ef7b8408a84f973b3 (diff) |
Update for glib constructor renames
See https://github.com/gtk-rs/gtk-rs-core/pull/384
Diffstat (limited to 'text/regex')
-rw-r--r-- | text/regex/src/gstregex/imp.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/text/regex/src/gstregex/imp.rs b/text/regex/src/gstregex/imp.rs index 0dd73b3a..857d39d3 100644 --- a/text/regex/src/gstregex/imp.rs +++ b/text/regex/src/gstregex/imp.rs @@ -156,17 +156,17 @@ impl ObjectSubclass for RegEx { impl ObjectImpl for RegEx { fn properties() -> &'static [glib::ParamSpec] { static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| { - vec![glib::ParamSpec::new_array( + vec![gst::ParamSpecArray::new( "commands", "Commands", "A set of commands to apply on input text", - &glib::ParamSpec::new_boxed( + Some(&glib::ParamSpecBoxed::new( "command", "Command", "A command to apply on input text", gst::Structure::static_type(), glib::ParamFlags::READWRITE, - ), + )), glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_PLAYING, )] }); |