Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-01-21 19:13:48 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-01-21 19:13:48 +0300
commit458b2386ed5c3cdfde45b0eab127220f0431bf0d (patch)
treead1ef0925c028d0239f0aeafd065797fd87e48ff /tutorial
parent7cfd570c15b9742f7e07e92f97ffc2c623b6791f (diff)
Update for glib API changes
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/src/progressbin/imp.rs2
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()