ParamSpecArray: fix type_ from fraction to array

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1229>
This commit is contained in:
Marc Wiblishauser 2023-03-09 10:13:07 +01:00
parent 4b112a9bb8
commit 0bd6e07346

View file

@ -221,7 +221,7 @@ glib::wrapper! {
match fn {
ref => |ptr| gobject_ffi::g_param_spec_ref_sink(ptr as *mut gobject_ffi::GParamSpec),
unref => |ptr| gobject_ffi::g_param_spec_unref(ptr as *mut gobject_ffi::GParamSpec),
type_ => || ffi::gst_param_spec_fraction_get_type(),
type_ => || ffi::gst_param_spec_array_get_type(),
}
}