From 458b2386ed5c3cdfde45b0eab127220f0431bf0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 21 Jan 2023 18:13:48 +0200 Subject: Update for glib API changes --- tutorial/src/progressbin/imp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tutorial/src') diff --git a/tutorial/src/progressbin/imp.rs b/tutorial/src/progressbin/imp.rs index e65d2bcaa..ad3a920d6 100644 --- a/tutorial/src/progressbin/imp.rs +++ b/tutorial/src/progressbin/imp.rs @@ -86,7 +86,7 @@ impl ObjectImpl for ProgressBin { fn properties() -> &'static [glib::ParamSpec] { static PROPERTIES: Lazy> = Lazy::new(|| { vec![ - glib::ParamSpecEnum::builder::("output", DEFAULT_OUTPUT_TYPE) + glib::ParamSpecEnum::builder_with_default("output", DEFAULT_OUTPUT_TYPE) .nick("Output") .blurb("Defines the output type of the progressbin") .mutable_playing() -- cgit v1.2.3