gstreamer/childproxy: Fix unused variable compiler warnings

This commit is contained in:
Sebastian Dröge 2020-01-22 19:14:48 +02:00
parent 5577e8a457
commit fc1e909925

View file

@ -40,8 +40,8 @@ pub trait ChildProxyImpl: super::element::ElementImpl + Send + Sync + 'static {
fn get_child_by_index(&self, object: &ChildProxy, index: u32) -> Option<glib::Object>;
fn get_children_count(&self, object: &ChildProxy) -> u32;
fn child_added(&self, object: &ChildProxy, child: &glib::Object, name: &str) {}
fn child_removed(&self, object: &ChildProxy, child: &glib::Object, name: &str) {}
fn child_added(&self, _object: &ChildProxy, _child: &glib::Object, _name: &str) {}
fn child_removed(&self, _object: &ChildProxy, _child: &glib::Object, _name: &str) {}
}
unsafe impl<T: ObjectSubclass + ChildProxyImpl> IsImplementable<T> for ChildProxy {