diff --git a/gstreamer/src/segment.rs b/gstreamer/src/segment.rs index e6ce8cf21..6199eb44e 100644 --- a/gstreamer/src/segment.rs +++ b/gstreamer/src/segment.rs @@ -236,7 +236,7 @@ impl glib::types::StaticType for Segment { #[doc(hidden)] impl<'a> glib::value::FromValueOptional<'a> for Segment { unsafe fn from_value_optional(value: &glib::Value) -> Option { - Option::::from_glib_full(gobject_ffi::g_value_get_boxed(value.to_glib_none().0) as + Option::::from_glib_none(gobject_ffi::g_value_get_boxed(value.to_glib_none().0) as *mut ffi::GstSegment) } }