regex: Fix compilation after array ParamSpec constructor rename

This commit is contained in:
Sebastian Dröge 2021-05-07 10:17:14 +03:00
parent f4a3881dcf
commit 5660df7f70

View file

@ -155,7 +155,7 @@ impl ObjectSubclass for RegEx {
impl ObjectImpl for RegEx { impl ObjectImpl for RegEx {
fn properties() -> &'static [glib::ParamSpec] { fn properties() -> &'static [glib::ParamSpec] {
static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| { static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| {
vec![glib::ParamSpec::array( vec![glib::ParamSpec::new_array(
"commands", "commands",
"Commands", "Commands",
"A set of commands to apply on input text", "A set of commands to apply on input text",