From 5660df7f70073d9c3a8bc181394968a537be1b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 7 May 2021 10:17:14 +0300 Subject: [PATCH] regex: Fix compilation after array ParamSpec constructor rename --- text/regex/src/gstregex/imp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",