From d9397ef1743ac92e84784d00b93dc0877d44f966 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 26 Dec 2023 19:15:15 +0100 Subject: [PATCH] gtk4: fix build on Windows using winegl from_glib_full() was not in scope. Part-of: --- video/gtk4/src/sink/imp.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/video/gtk4/src/sink/imp.rs b/video/gtk4/src/sink/imp.rs index fd5b7fd4..28936d3f 100644 --- a/video/gtk4/src/sink/imp.rs +++ b/video/gtk4/src/sink/imp.rs @@ -963,6 +963,7 @@ impl PaintableSink { // FIXME: bindings unsafe { use gdk_win32::prelude::*; + use glib::translate::*; let d = display.downcast::().unwrap(); let egl_display = d.egl_display().unwrap().as_ptr();