Mercurial > projects > dwt2
diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/dnd/DropTarget.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/dnd/DropTarget.d Fri Mar 27 11:10:45 2009 +0100 +++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/dnd/DropTarget.d Fri Mar 27 11:43:53 2009 +0100 @@ -38,7 +38,7 @@ import org.eclipse.swt.dnd.TreeDropTargetEffect; import java.lang.all; -import tango.core.Thread; +import java.lang.Thread; static import tango.stdc.string; /** @@ -320,7 +320,7 @@ } static DropTarget FindDropTarget(GtkWidget* handle) { - Display display = Display.findDisplay(Thread.getThis()); + Display display = Display.findDisplay(Thread.currentThread()); if (display is null || display.isDisposed()) return null; Widget widget = display.findWidget(handle); if (widget is null) return null;