diff --git a/gstreamer/src/child_proxy.rs b/gstreamer/src/child_proxy.rs index d48d561f4..96bdde989 100644 --- a/gstreamer/src/child_proxy.rs +++ b/gstreamer/src/child_proxy.rs @@ -8,10 +8,10 @@ use std::ptr; pub trait ChildProxyExtManual: 'static { #[doc(alias = "get_child_property")] fn child_property(&self, name: &str) -> Option; - fn set_child_property( + fn set_child_property( &self, name: &str, - value: &dyn glib::ToValue, + value: V, ) -> Result<(), glib::BoolError>; } @@ -38,10 +38,10 @@ impl> ChildProxyExtManual for O { } } - fn set_child_property( + fn set_child_property( &self, name: &str, - value: &dyn glib::ToValue, + value: V, ) -> Result<(), glib::BoolError> { unsafe { let found: bool = from_glib(ffi::gst_child_proxy_lookup(