forked from mirrors/gstreamer-rs
gstreamer/childproxy: Fix unused variable compiler warnings
This commit is contained in:
parent
196a9891cb
commit
2b5f16391d
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue