diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2023-01-21 19:13:48 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2023-01-21 19:13:48 +0300 |
commit | 458b2386ed5c3cdfde45b0eab127220f0431bf0d (patch) | |
tree | ad1ef0925c028d0239f0aeafd065797fd87e48ff /tutorial | |
parent | 7cfd570c15b9742f7e07e92f97ffc2c623b6791f (diff) |
Update for glib API changes
Diffstat (limited to 'tutorial')
-rw-r--r-- | tutorial/src/progressbin/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<Vec<glib::ParamSpec>> = Lazy::new(|| { vec![ - glib::ParamSpecEnum::builder::<ProgressBinOutput>("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() |