From 161bacafc07a35b0b7258b8482c85f9df84c98c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Andr=C3=A9=20Langnes?= Date: Sat, 17 Feb 2024 18:25:42 +0900 Subject: [PATCH] Update webview.h to version 0.10.0 --- libs/webview/include/webview.h | 3 ++- libs/webview/version.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/webview/include/webview.h b/libs/webview/include/webview.h index 128d88e..fa8ea07 100644 --- a/libs/webview/include/webview.h +++ b/libs/webview/include/webview.h @@ -623,7 +623,8 @@ private: static char *get_string_from_js_result(WebKitJavascriptResult *r) { char *s; -#if WEBKIT_MAJOR_VERSION >= 2 && WEBKIT_MINOR_VERSION >= 22 +#if (WEBKIT_MAJOR_VERSION == 2 && WEBKIT_MINOR_VERSION >= 22) || \ + WEBKIT_MAJOR_VERSION > 2 JSCValue *value = webkit_javascript_result_get_js_value(r); s = jsc_value_to_string(value); #else diff --git a/libs/webview/version.txt b/libs/webview/version.txt index 8ab76ef..78bc1ab 100644 --- a/libs/webview/version.txt +++ b/libs/webview/version.txt @@ -1 +1 @@ -6b2747222f14265ced7af5fa13e6f16d43a55325 +0.10.0