diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/Tracker.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/Tracker.d	Fri Mar 27 11:10:45 2009 +0100
+++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/Tracker.d	Fri Mar 27 11:43:53 2009 +0100
@@ -31,7 +31,7 @@
 import org.eclipse.swt.widgets.Event;
 
 import tango.core.Exception;
-import tango.core.Thread;
+import java.lang.Thread;
 
 /**
  *  Instances of this class implement rubber banding rectangles that are
@@ -730,7 +730,7 @@
             if (eventPtr !is null) {
                 break;
             } else {
-                try { Thread.sleep(0.050); } catch (Exception ex) {}
+                try { Thread.sleep(50); } catch (Exception ex) {}
             }
         }
         gdkEvent = eventPtr;