From 0f09e8d433b0cf6511057c8552dbb46d35291612 Mon Sep 17 00:00:00 2001 From: "Lea\\Anthony" Date: Thu, 30 Dec 2021 11:17:29 +1100 Subject: [PATCH] Fix signatures --- v2/internal/frontend/desktop/linux/window.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/internal/frontend/desktop/linux/window.go b/v2/internal/frontend/desktop/linux/window.go index e36f9d0ed..df20de867 100644 --- a/v2/internal/frontend/desktop/linux/window.go +++ b/v2/internal/frontend/desktop/linux/window.go @@ -83,7 +83,7 @@ extern void processMessage(char*); static void sendMessageToBackend(WebKitUserContentManager *contentManager, WebKitJavascriptResult *result, - void*) + void* data) { #if WEBKIT_MAJOR_VERSION >= 2 && WEBKIT_MINOR_VERSION >= 22 JSCValue *value = webkit_javascript_result_get_js_value(result); @@ -145,7 +145,7 @@ void connectButtons(void* webview) { extern void processURLRequest(WebKitURISchemeRequest *request); // This is called when the close button on the window is pressed -gboolean close_button_pressed(GtkWidget *widget, GdkEvent *event, void*) +gboolean close_button_pressed(GtkWidget *widget, GdkEvent *event, void* data) { processMessage("Q"); return FALSE;