forked from mirrors/gstreamer-rs
gstreamer: Remove one unnecessary use of unsafe in query code
This commit is contained in:
parent
3d39faac28
commit
87e7a84a27
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ macro_rules! declare_concrete_query(
|
|||
impl From<$name<Query>> for Query {
|
||||
fn from(concrete: $name<Query>) -> Self {
|
||||
skip_assert_initialized!();
|
||||
unsafe { from_glib_none(concrete.0.as_mut_ptr()) }
|
||||
concrete.0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue