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>2021-11-20 13:25:14 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-11-20 15:31:06 +0300
commit55aad51141907ea7834eb0cbcdf6f92e3fdce5d1 (patch)
treef556878f25667e079ce6d0dac96bda76f5f8be31 /tutorial/src/progressbin/imp.rs
parent288acaa7ccb596e63af47b8ef7b8408a84f973b3 (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.rs2
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",