From cdb51de8ba322c327f3c1ba33a1b20859fe50f2b Mon Sep 17 00:00:00 2001 From: Johnny Date: Thu, 25 Apr 2024 16:38:57 +0100 Subject: [PATCH] Further 4.1 changes --- libs/webview/include/webview.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libs/webview/include/webview.h b/libs/webview/include/webview.h index 62ac14b..7a67776 100644 --- a/libs/webview/include/webview.h +++ b/libs/webview/include/webview.h @@ -1096,9 +1096,9 @@ inline std::string json_parse(const std::string &s, const std::string &key, // ==================================================================== // // This implementation uses webkit2gtk backend. It requires gtk+3.0 and -// webkit2gtk-4.0 libraries. Proper compiler flags can be retrieved via: +// webkit2gtk-4.1 libraries. Proper compiler flags can be retrieved via: // -// pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0 +// pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.1 // // ==================================================================== // @@ -1415,8 +1415,7 @@ private: return loaded_lib; } - constexpr std::array lib_names{"libwebkit2gtk-4.1.so", - "libwebkit2gtk-4.0.so"}; + constexpr std::array lib_names{"libwebkit2gtk-4.1.so"}; auto found = std::find_if(lib_names.begin(), lib_names.end(), [](const char *name) { return native_library::is_loaded(name);