diff options
author | Silenio Quarti | 2012-11-02 16:45:38 +0000 |
---|---|---|
committer | Silenio Quarti | 2012-11-02 16:45:38 +0000 |
commit | 125144dea1df89114c50ff2f917b9e912a4933f7 (patch) | |
tree | efb64ea85e1585251799eccd16f0a2f3f7d06cac | |
parent | 1893ee00dbd109fe547456f5a6765a11b749c94d (diff) | |
download | eclipse.platform.swt-silenio/Bug389910.tar.gz eclipse.platform.swt-silenio/Bug389910.tar.xz eclipse.platform.swt-silenio/Bug389910.zip |
USE_CAIRO has to be true on GTK3silenio/Bug389910
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java | 2 |
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); |