Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2017-10-30 12:04:13 +0000
committerSravan Kumar Lakkimsetti2017-10-30 12:41:04 +0000
commita8daf79d7dfd6a925c085d47520b68f02a7017f7 (patch)
tree970a4994269bb457b09bf22c8ca9a20270ff1073
parent9af795022d299c236d2ff7cfe9c727bcaf9666e2 (diff)
downloadeclipse.platform.swt-a8daf79d7dfd6a925c085d47520b68f02a7017f7.tar.gz
eclipse.platform.swt-a8daf79d7dfd6a925c085d47520b68f02a7017f7.tar.xz
eclipse.platform.swt-a8daf79d7dfd6a925c085d47520b68f02a7017f7.zip
v4629
Change-Id: I3e88b6beb299cc047bee07c84ec59be5770b83e0 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java4
-rw-r--r--bundles/org.eclipse.swt/pom.xml2
2 files changed, 3 insertions, 3 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 84467550d6..c5ac616f72 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
@@ -21,8 +21,6 @@ import org.eclipse.swt.internal.cairo.*;
public class OS extends C {
static {
String scalingProperty = "GDK_SCALE";
- OS.setenv(ascii(scalingProperty), ascii("1"), 1);
- String propertyName = "SWT_GTK3";
String gtk3 = getEnvironmentalVariable (propertyName);
if (gtk3 != null && gtk3.equals("0")) {
Library.loadLibrary("swt-pi");
@@ -34,6 +32,8 @@ public class OS extends C {
Library.loadLibrary("swt-pi");
}
}
+ OS.setenv(ascii(scalingProperty), ascii("1"), 1);
+ String propertyName = "SWT_GTK3";
}
//Add ability to debug gtk warnings for SWT snippets via SWT_FATAL_WARNINGS=1
diff --git a/bundles/org.eclipse.swt/pom.xml b/bundles/org.eclipse.swt/pom.xml
index 21303ce347..99777a6654 100644
--- a/bundles/org.eclipse.swt/pom.xml
+++ b/bundles/org.eclipse.swt/pom.xml
@@ -21,7 +21,7 @@
<version>3.105.3-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<properties>
- <forceContextQualifier>v20170228-0512</forceContextQualifier>
+ <forceContextQualifier>v20171030-0800</forceContextQualifier>
</properties>
<build>
<plugins>

Back to the top