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:
authorFrançois Laignel <fengalin@free.fr>2021-04-12 19:12:05 +0300
committerFrançois Laignel <fengalin@free.fr>2021-04-13 18:24:20 +0300
commit7d17f88941323013b7e2413aadaf53832a085195 (patch)
tree65a823b82489af25875062b96e37ef229506455e /generic/file
parent06accc8d98cc2876bcacfc6f9e097af690b4e64f (diff)
post fix-getters manual updates
Diffstat (limited to 'generic/file')
-rw-r--r--generic/file/src/filesink/imp.rs2
-rw-r--r--generic/file/src/filesrc/imp.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/file/src/filesink/imp.rs b/generic/file/src/filesink/imp.rs
index b9bfe15a7..6627582dd 100644
--- a/generic/file/src/filesink/imp.rs
+++ b/generic/file/src/filesink/imp.rs
@@ -117,7 +117,7 @@ impl ObjectSubclass for FileSink {
impl ObjectImpl for FileSink {
fn properties() -> &'static [glib::ParamSpec] {
static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| {
- vec![glib::ParamSpec::string(
+ vec![glib::ParamSpec::new_string(
"location",
"File Location",
"Location of the file to write",
diff --git a/generic/file/src/filesrc/imp.rs b/generic/file/src/filesrc/imp.rs
index 36a5137bb..690cdf1f9 100644
--- a/generic/file/src/filesrc/imp.rs
+++ b/generic/file/src/filesrc/imp.rs
@@ -131,7 +131,7 @@ impl ObjectSubclass for FileSrc {
impl ObjectImpl for FileSrc {
fn properties() -> &'static [glib::ParamSpec] {
static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| {
- vec![glib::ParamSpec::string(
+ vec![glib::ParamSpec::new_string(
"location",
"File Location",
"Location of the file to read from",