Skip to content

Commit 8feeb23

Browse files
committed
[GTK4] Fix Webkit loading
Adjust dlopened webkitgtk lib to the stable one as libwebkit2gtk-5.0.so.0 used till now is obsolete now.
1 parent 4179dc7 commit 8feeb23

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library

1 file changed

+1
-1
lines changed

bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
void* handle = 0; \
4444
char *gtk4 = getenv("SWT_GTK4"); \
4545
if (gtk4 != NULL && strcmp(gtk4, "1") == 0) { \
46-
handle = dlopen("libwebkit2gtk-5.0.so.0", LOAD_FLAGS); \
46+
handle = dlopen("libwebkitgtk-6.0.so.4", LOAD_FLAGS); \
4747
} else { \
4848
handle = dlopen("libwebkit2gtk-4.1.so.0", LOAD_FLAGS); /* webkit2/libsoup3 */ \
4949
if (!handle) { \

0 commit comments

Comments
 (0)