diff --git a/text/regex/src/gstregex/imp.rs b/text/regex/src/gstregex/imp.rs index b9820ae5..99f50c37 100644 --- a/text/regex/src/gstregex/imp.rs +++ b/text/regex/src/gstregex/imp.rs @@ -155,7 +155,7 @@ impl ObjectSubclass for RegEx { impl ObjectImpl for RegEx { fn properties() -> &'static [glib::ParamSpec] { static PROPERTIES: Lazy> = Lazy::new(|| { - vec![glib::ParamSpec::array( + vec![glib::ParamSpec::new_array( "commands", "Commands", "A set of commands to apply on input text",