Browse Source

Fix X11 webview with recent glib

Signed-off-by: falkTX <falktx@falktx.com>
develop
falkTX 1 month ago
parent
commit
d2f31dadba
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      distrho/extra/WebViewImpl.cpp

+ 2
- 1
distrho/extra/WebViewImpl.cpp View File

@@ -948,7 +948,7 @@ struct QSize {
S NAME = reinterpret_cast<S>(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<WebViewRingBuffer*>(ptr);

@@ -996,6 +996,7 @@ static void web_wake_idle(void* const ptr)
}

free(buffer);
return 0;
}

// -----------------------------------------------------------------------------------------------------------


Loading…
Cancel
Save