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