summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2008-02-11 15:52:33 +0000
committerSilenio Quarti <silenio>2008-02-11 15:52:33 +0000
commit7c921fde1a3e57d6090fd86368a01a1c5424c9a7 (patch)
treef1dadf8fa912e348ccce93132e6bfbd6395d6c59 /bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics
parent50ffc4c89de3b9247aed5737cd70563ccc951b93 (diff)
downloadeclipse.platform.swt-7c921fde1a3e57d6090fd86368a01a1c5424c9a7.tar.gz
eclipse.platform.swt-7c921fde1a3e57d6090fd86368a01a1c5424c9a7.tar.xz
eclipse.platform.swt-7c921fde1a3e57d6090fd86368a01a1c5424c9a7.zip
217764 - setting Device.DEBUG before creating Display fails silently
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Device.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Device.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Device.java
index edf6dc88b9..f324d96de6 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Device.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Device.java
@@ -95,13 +95,13 @@ public Device(DeviceData data) {
debug = data.debug;
tracking = data.tracking;
}
- create (data);
- init ();
if (tracking) {
errors = new Error [128];
objects = new Object [128];
trackingLock = new Object ();
}
+ create (data);
+ init ();
/* Initialize the system font slot */
systemFont = getSystemFont ();