diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/Synchronizer.d @ 47:65761bc28ab2

swt linux again compilable for d1.
author Frank Benoit <benoit@tionex.de>
date Fri, 27 Mar 2009 11:43:53 +0100
parents f713da8bc051
children ddbfe84d86df
line wrap: on
line diff
--- a/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/Synchronizer.d	Fri Mar 27 11:10:45 2009 +0100
+++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/Synchronizer.d	Fri Mar 27 11:43:53 2009 +0100
@@ -18,7 +18,7 @@
 import java.lang.all;
 
 import org.eclipse.swt.SWT;
-import tango.core.Thread;
+import java.lang.Thread;
 import org.eclipse.swt.graphics.Device;
 import tango.core.Exception;
 
@@ -172,7 +172,7 @@
             /*
              * Only remember the syncThread for syncExec.
              */
-            lock.thread = Thread.getThis();
+            lock.thread = Thread.currentThread();
             addLast (lock);
         }
     }