Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
index 6c3d182f13..e239fbaba8 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
@@ -616,7 +616,7 @@ public class OS extends C {
if (!"false".equals(System.getProperty("org.eclipse.swt.internal.gtk.cairoGraphics"))) {
useCairo = GTK_VERSION >= VERSION(2, 24, 0);
}
- USE_CAIRO = useCairo;
+ USE_CAIRO = useCairo || OS.GTK3;
boolean initCairo = false;
if (!"false".equals(System.getProperty("org.eclipse.swt.internal.gtk.useCairo"))) {
initCairo = GTK_VERSION >= VERSION(2, 17, 0);

Back to the top