From d2f31dadba31dcd33feaac7c26587491f796ab87 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 6 Apr 2025 14:13:35 +0200 Subject: [PATCH] Fix X11 webview with recent glib Signed-off-by: falkTX --- distrho/extra/WebViewImpl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/distrho/extra/WebViewImpl.cpp b/distrho/extra/WebViewImpl.cpp index 7c65e9dc..136375a9 100644 --- a/distrho/extra/WebViewImpl.cpp +++ b/distrho/extra/WebViewImpl.cpp @@ -948,7 +948,7 @@ struct QSize { S NAME = reinterpret_cast(dlsym(nullptr, #SN)); \ DISTRHO_SAFE_ASSERT_RETURN(NAME != nullptr, false); -static void web_wake_idle(void* const ptr) +static int web_wake_idle(void* const ptr) { WebViewRingBuffer* const shmptr = static_cast(ptr); @@ -996,6 +996,7 @@ static void web_wake_idle(void* const ptr) } free(buffer); + return 0; } // -----------------------------------------------------------------------------------------------------------