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);