From 32c5218e7d41a9e9ea571c6ce3ff2a7ccce16dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 2 Aug 2017 19:41:33 +0300 Subject: [PATCH] Fix indentation --- gstreamer/src/bus.rs | 9 +-------- gstreamer/src/element.rs | 5 ++++- gstreamer/src/lib.rs | 2 +- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/gstreamer/src/bus.rs b/gstreamer/src/bus.rs index 368098f11..907d57d52 100644 --- a/gstreamer/src/bus.rs +++ b/gstreamer/src/bus.rs @@ -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) } } } diff --git a/gstreamer/src/element.rs b/gstreamer/src/element.rs index c61b0afcb..04bcdebfa 100644 --- a/gstreamer/src/element.rs +++ b/gstreamer/src/element.rs @@ -61,7 +61,10 @@ impl> 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(), + )) } } } diff --git a/gstreamer/src/lib.rs b/gstreamer/src/lib.rs index 65f88b78e..7fe1fd5aa 100644 --- a/gstreamer/src/lib.rs +++ b/gstreamer/src/lib.rs @@ -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};