diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-11-20 13:25:14 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-11-20 15:31:06 +0300 |
commit | 55aad51141907ea7834eb0cbcdf6f92e3fdce5d1 (patch) | |
tree | f556878f25667e079ce6d0dac96bda76f5f8be31 /tutorial/src/progressbin/imp.rs | |
parent | 288acaa7ccb596e63af47b8ef7b8408a84f973b3 (diff) |
Update for glib constructor renames
See https://github.com/gtk-rs/gtk-rs-core/pull/384
Diffstat (limited to 'tutorial/src/progressbin/imp.rs')
-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 18c6b5752..5029c9c59 100644 --- a/tutorial/src/progressbin/imp.rs +++ b/tutorial/src/progressbin/imp.rs @@ -81,7 +81,7 @@ impl ObjectImpl for ProgressBin { // Metadata for the element's properties fn properties() -> &'static [glib::ParamSpec] { static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| { - vec![glib::ParamSpec::new_enum( + vec![glib::ParamSpecEnum::new( "output", "Output", "Defines the output type of the progressbin", |