From 6aea4fb26600edb367c59ef207a3cbeb02b9b445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=8A?= =?UTF-8?q?=D1=80=20=D0=9A=D1=83=D1=80=D1=82=D0=B0=D0=BA=D0=BE=D0=B2?= Date: Tue, 8 Oct 2024 11:07:54 +0300 Subject: [PATCH] [GTK4] Fix Webkit loading Adjust dlopened webkitgtk lib to the stable one as libwebkit2gtk-5.0.so.0 used till now is obsolete now. --- .../org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.h b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.h index ae55c955027..09b6c74dd3e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.h +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.h @@ -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) { \