Fix indentation

This commit is contained in:
Sebastian Dröge 2017-08-02 19:41:33 +03:00
parent 09db28bbf5
commit 32c5218e7d
3 changed files with 6 additions and 10 deletions

View file

@ -122,13 +122,6 @@ impl Bus {
}
pub fn unset_sync_handler(&self) {
unsafe {
ffi::gst_bus_set_sync_handler(
self.to_glib_none().0,
None,
ptr::null_mut(),
None,
)
}
unsafe { ffi::gst_bus_set_sync_handler(self.to_glib_none().0, None, ptr::null_mut(), None) }
}
}

View file

@ -61,7 +61,10 @@ impl<O: IsA<Element>> ElementExtManual for O {
fn send_event(&self, event: Event) -> bool {
unsafe {
from_glib(ffi::gst_element_send_event(self.to_glib_none().0, event.into_ptr()))
from_glib(ffi::gst_element_send_event(
self.to_glib_none().0,
event.into_ptr(),
))
}
}
}

View file

@ -81,7 +81,7 @@ mod ghost_pad;
mod child_proxy;
mod tag_setter;
mod iterator;
pub use object::{Object, GstObjectExt};
pub use object::{GstObjectExt, Object};
pub use element::ElementExtManual;
pub use bin::BinExtManual;
pub use pad::{PadExtManual, PadProbeData, PadProbeId, PadProbeInfo, PAD_PROBE_ID_INVALID};