gtk4: fix build on Windows using winegl

from_glib_full() was not in scope.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1457>
This commit is contained in:
Guillaume Desmottes 2023-12-26 19:15:15 +01:00 committed by Sebastian Dröge
parent 5bba2f7836
commit cb906a9d55

View file

@ -963,6 +963,7 @@ impl PaintableSink {
// FIXME: bindings
unsafe {
use gdk_win32::prelude::*;
use glib::translate::*;
let d = display.downcast::<gdk_win32::Win32Display>().unwrap();
let egl_display = d.egl_display().unwrap().as_ptr();