diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-01-17 21:09:18 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-01-17 21:09:18 +0300 |
commit | 763ad0cb184e9b68bd215c9e5fe63f391a581e2d (patch) | |
tree | 788a97f059e0378d0ae9b12ad1b75121a1154d85 /text | |
parent | b2d017242204d5b395c52b101f6956985a57d911 (diff) |
Rename `self_` variables to `imp` for consistency
Diffstat (limited to 'text')
-rw-r--r-- | text/ahead/src/textahead/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/text/ahead/src/textahead/imp.rs b/text/ahead/src/textahead/imp.rs index 5b5d05a04..0da703171 100644 --- a/text/ahead/src/textahead/imp.rs +++ b/text/ahead/src/textahead/imp.rs @@ -74,14 +74,14 @@ impl ObjectSubclass for TextAhead { TextAhead::catch_panic_pad_function( parent, || Err(gst::FlowError::Error), - |self_, element| self_.sink_chain(pad, element, buffer), + |imp, element| imp.sink_chain(pad, element, buffer), ) }) .event_function(|pad, parent, event| { TextAhead::catch_panic_pad_function( parent, || false, - |self_, element| self_.sink_event(pad, element, event), + |imp, element| imp.sink_event(pad, element, event), ) }) .build(); |