gstreamer: childproxy: Include child property name in error message when lookup fails

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1472>
This commit is contained in:
Sebastian Dröge 2024-06-28 12:20:47 +03:00
parent 7a5096b1e4
commit adf3e9236a

View file

@ -26,7 +26,7 @@ pub trait ChildProxyExtManual: sealed::Sealed + IsA<ChildProxy> + 'static {
if ret {
Ok((from_glib_full(target), from_glib_none(pspec)))
} else {
Err(glib::bool_error!("Failed to find child property"))
Err(glib::bool_error!("Failed to find child property '{name}'"))
}
}
}