diff options
Diffstat (limited to 'tutorial/src/rgb2gray/imp.rs')
-rw-r--r-- | tutorial/src/rgb2gray/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tutorial/src/rgb2gray/imp.rs b/tutorial/src/rgb2gray/imp.rs index 06d90dc2d..d79a0633b 100644 --- a/tutorial/src/rgb2gray/imp.rs +++ b/tutorial/src/rgb2gray/imp.rs @@ -97,14 +97,14 @@ impl ObjectImpl for Rgb2Gray { // Metadata for the properties static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| { vec![ - glib::ParamSpec::new_boolean( + glib::ParamSpecBoolean::new( "invert", "Invert", "Invert grayscale output", DEFAULT_INVERT, glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_PLAYING, ), - glib::ParamSpec::new_uint( + glib::ParamSpecUInt::new( "shift", "Shift", "Shift grayscale output (wrapping around)", |