diff --git a/examples/src/bin/gtkvideooverlay.rs b/examples/src/bin/gtkvideooverlay.rs index ed11ea47a..7bb64d258 100644 --- a/examples/src/bin/gtkvideooverlay.rs +++ b/examples/src/bin/gtkvideooverlay.rs @@ -77,7 +77,9 @@ fn set_window_handle(video_overlay: &gst_video::VideoOverlay, gdk_window: &gdk:: if display_type_name == "GdkQuartzDisplay" { extern "C" { - pub fn gdk_quartz_window_get_nsview(window: *mut glib::gobject_ffi::GObject) -> *mut c_void; + pub fn gdk_quartz_window_get_nsview( + window: *mut glib::gobject_ffi::GObject, + ) -> *mut c_void; } // This is unsafe because the "window handle" we pass here is basically like a raw pointer.