Skip to content

Commit

Permalink
[GTK4] Fix Webkit loading
Browse files Browse the repository at this point in the history
Adjust dlopened webkitgtk lib to the stable one as
libwebkit2gtk-5.0.so.0 used till now is obsolete now.
  • Loading branch information
akurtakov committed Oct 8, 2024
1 parent 4179dc7 commit 8feeb23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
void* handle = 0; \
char *gtk4 = getenv("SWT_GTK4"); \
if (gtk4 != NULL && strcmp(gtk4, "1") == 0) { \
handle = dlopen("libwebkit2gtk-5.0.so.0", LOAD_FLAGS); \
handle = dlopen("libwebkitgtk-6.0.so.4", LOAD_FLAGS); \
} else { \
handle = dlopen("libwebkit2gtk-4.1.so.0", LOAD_FLAGS); /* webkit2/libsoup3 */ \
if (!handle) { \
Expand Down

0 comments on commit 8feeb23

Please sign in to comment.