Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-09-13 09:23:16 +0000
committerAlexander Kurtakov2018-09-13 09:45:29 +0000
commit9e8ba58462ba3a16c07b7ebc046f7659a7aff0df (patch)
tree3d7d258d689b081a693a86d72a915eb2d7cf7148
parent25381fe6417abc9bc39b1d3e7d790c230636427b (diff)
downloadeclipse.platform.swt-9e8ba58462ba3a16c07b7ebc046f7659a7aff0df.tar.gz
eclipse.platform.swt-9e8ba58462ba3a16c07b7ebc046f7659a7aff0df.tar.xz
eclipse.platform.swt-9e8ba58462ba3a16c07b7ebc046f7659a7aff0df.zip
Bug 530841: [GTK2] Remove GTK 2.x support
Remove useless GTK3 check in Webkit. Change-Id: I533a5446a8258c9adc02bea2ff772923fc4cb2dc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/internal/webkit/WebKitGTK.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/internal/webkit/WebKitGTK.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/internal/webkit/WebKitGTK.java
index c1df6956a2..893688b5e3 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/internal/webkit/WebKitGTK.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/internal/webkit/WebKitGTK.java
@@ -51,7 +51,7 @@ public class WebKitGTK extends C {
if (webkit2VersionFunction != 0) { // SWT_WEBKIT2 env variable is not set but webkit2 was loaded as fallback
webkit2 = "1";
}
- WEBKIT2 = webkit2 != null && webkit2.equals("1") && GTK.GTK3; // $NON-NLS-1$
+ WEBKIT2 = webkit2 != null && webkit2.equals("1"); // $NON-NLS-1$
WEBKIT1 = !WEBKIT2;
}

Back to the top