forked from mirrors/gstreamer-rs
gstreamer/uri_handler: Update for glib bindings API changes
This commit is contained in:
parent
a311591310
commit
0b61713398
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ unsafe extern "C" fn uri_handler_get_type<T: URIHandlerImpl>(
|
|||
unsafe extern "C" fn uri_handler_get_protocols<T: URIHandlerImpl>(
|
||||
_type_: glib::ffi::GType,
|
||||
) -> *const *const libc::c_char {
|
||||
let data = <T as ObjectSubclass>::type_data();
|
||||
let data = <T as ObjectSubclassType>::type_data();
|
||||
data.as_ref()
|
||||
.get_class_data::<CStrV>(URIHandler::static_type())
|
||||
.unwrap_or(&CStrV(std::ptr::null()))
|
||||
|
|
Loading…
Reference in a new issue