Fix build warnings after update to Rust 1.77

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1419>
This commit is contained in:
Philippe Normand 2024-03-21 13:41:36 +00:00 committed by Sebastian Dröge
parent 4404e52173
commit 35747ce3df
2 changed files with 4 additions and 2 deletions

View file

@ -22,5 +22,6 @@ pub fn init() {
assert_initialized_main_thread!(); assert_initialized_main_thread!();
} }
// Workaround for https://github.com/gtk-rs/gir/issues/1555.
#[allow(unused_imports)]
mod auto; mod auto;
pub use crate::auto::*;

View file

@ -1,4 +1,5 @@
use glib::{prelude::*, translate::*}; use glib::prelude::*;
use glib::translate::FromGlibPtrBorrow;
use crate::RTPBaseDepayload; use crate::RTPBaseDepayload;