examples: Fix formatting

This commit is contained in:
Sebastian Dröge 2022-10-12 14:33:13 +03:00
parent b89a285178
commit 08cac646be

View file

@ -77,7 +77,9 @@ fn set_window_handle(video_overlay: &gst_video::VideoOverlay, gdk_window: &gdk::
if display_type_name == "GdkQuartzDisplay" { if display_type_name == "GdkQuartzDisplay" {
extern "C" { 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. // This is unsafe because the "window handle" we pass here is basically like a raw pointer.