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
path: root/text
diff options
context:
space:
mode:
authorFrançois Laignel <fengalin@free.fr>2021-04-20 15:57:40 +0300
committerFrançois Laignel <fengalin@free.fr>2021-04-20 19:19:58 +0300
commit27bc5c89cad7dfec9cc12c6c87beca76a4a0b139 (patch)
tree8837a6ede376d71ede06dfa553250b19de618b16 /text
parente0b577fe1d96779cac8b2bdd365f84c008232246 (diff)
fix-getters-def 0.3.0 pass
Diffstat (limited to 'text')
-rw-r--r--text/json/src/jsongstparse/imp.rs2
-rw-r--r--text/regex/src/gstregex/imp.rs2
-rw-r--r--text/wrap/src/gsttextwrap/imp.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/text/json/src/jsongstparse/imp.rs b/text/json/src/jsongstparse/imp.rs
index 30f0dabd2..73784d634 100644
--- a/text/json/src/jsongstparse/imp.rs
+++ b/text/json/src/jsongstparse/imp.rs
@@ -115,7 +115,7 @@ enum Line<'a> {
}
impl State {
- fn get_line(&mut self, drain: bool) -> Result<Option<Line>, (&[u8], serde_json::Error)> {
+ fn line(&mut self, drain: bool) -> Result<Option<Line>, (&[u8], serde_json::Error)> {
let line = if self.replay_last_line {
self.replay_last_line = false;
&self.last_raw_line
diff --git a/text/regex/src/gstregex/imp.rs b/text/regex/src/gstregex/imp.rs
index 12f0dce1a..b33ccf482 100644
--- a/text/regex/src/gstregex/imp.rs
+++ b/text/regex/src/gstregex/imp.rs
@@ -248,7 +248,7 @@ impl ObjectImpl for RegEx {
}
}
- fn get_property(&self, _obj: &Self::Type, _id: usize, pspec: &glib::ParamSpec) -> glib::Value {
+ fn property(&self, _obj: &Self::Type, _id: usize, pspec: &glib::ParamSpec) -> glib::Value {
match pspec.name() {
"commands" => {
let state = self.state.lock().unwrap();
diff --git a/text/wrap/src/gsttextwrap/imp.rs b/text/wrap/src/gsttextwrap/imp.rs
index 377e46ac7..5f9194cbc 100644
--- a/text/wrap/src/gsttextwrap/imp.rs
+++ b/text/wrap/src/gsttextwrap/imp.rs
@@ -569,7 +569,7 @@ impl ObjectImpl for TextWrap {
}
}
- fn get_property(&self, _obj: &Self::Type, _id: usize, pspec: &glib::ParamSpec) -> glib::Value {
+ fn property(&self, _obj: &Self::Type, _id: usize, pspec: &glib::ParamSpec) -> glib::Value {
match pspec.name() {
"dictionary" => {
let settings = self.settings.lock().unwrap();