diff options
author | François Laignel <fengalin@free.fr> | 2021-04-12 19:12:05 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2021-04-13 18:24:20 +0300 |
commit | 7d17f88941323013b7e2413aadaf53832a085195 (patch) | |
tree | 65a823b82489af25875062b96e37ef229506455e /generic/file | |
parent | 06accc8d98cc2876bcacfc6f9e097af690b4e64f (diff) |
post fix-getters manual updates
Diffstat (limited to 'generic/file')
-rw-r--r-- | generic/file/src/filesink/imp.rs | 2 | ||||
-rw-r--r-- | generic/file/src/filesrc/imp.rs | 2 |
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", |