diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-06-16 11:56:48 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2020-06-16 11:56:48 +0300 |
commit | 60321edb8c2626106837b477860c5998265a356a (patch) | |
tree | 002e6d05942a9fe1b03dd5f20431534cd0908c2f /generic/sodium | |
parent | 61f76548bcf8a7c9313ba29b3af6be01564fb127 (diff) |
Update for new_with_XXX/new_from_XXX function renaming
Diffstat (limited to 'generic/sodium')
-rw-r--r-- | generic/sodium/src/decrypter.rs | 2 | ||||
-rw-r--r-- | generic/sodium/src/encrypter.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/sodium/src/decrypter.rs b/generic/sodium/src/decrypter.rs index b6eae734d..a52a83bd0 100644 --- a/generic/sodium/src/decrypter.rs +++ b/generic/sodium/src/decrypter.rs @@ -594,7 +594,7 @@ impl ObjectSubclass for Decrypter { glib_object_subclass!(); - fn new_with_class(klass: &subclass::simple::ClassStruct<Self>) -> Self { + fn with_class(klass: &subclass::simple::ClassStruct<Self>) -> Self { let templ = klass.get_pad_template("sink").unwrap(); let sinkpad = gst::Pad::from_template(&templ, Some("sink")); let templ = klass.get_pad_template("src").unwrap(); diff --git a/generic/sodium/src/encrypter.rs b/generic/sodium/src/encrypter.rs index 431316e88..129967bdf 100644 --- a/generic/sodium/src/encrypter.rs +++ b/generic/sodium/src/encrypter.rs @@ -423,7 +423,7 @@ impl ObjectSubclass for Encrypter { glib_object_subclass!(); - fn new_with_class(klass: &subclass::simple::ClassStruct<Self>) -> Self { + fn with_class(klass: &subclass::simple::ClassStruct<Self>) -> Self { let templ = klass.get_pad_template("sink").unwrap(); let sinkpad = gst::Pad::from_template(&templ, Some("sink")); let templ = klass.get_pad_template("src").unwrap(); |