From a8daf79d7dfd6a925c085d47520b68f02a7017f7 Mon Sep 17 00:00:00 2001 From: Sravan Kumar Lakkimsetti Date: Mon, 30 Oct 2017 17:34:13 +0530 Subject: v4629 Change-Id: I3e88b6beb299cc047bee07c84ec59be5770b83e0 Signed-off-by: Sravan Kumar Lakkimsetti --- .../Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java | 4 ++-- bundles/org.eclipse.swt/pom.xml | 2 +- 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 @@ 3.105.3-SNAPSHOT eclipse-plugin - v20170228-0512 + v20171030-0800 -- cgit v1.2.3