Mercurial > projects > dwt2
diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/Rectangle.d @ 26:f589fc20a5f9
work on linux phobos
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 21 Mar 2009 11:22:55 +0100 |
parents | f713da8bc051 |
children |
line wrap: on
line diff
--- a/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/Rectangle.d Fri Mar 20 23:03:58 2009 +0100 +++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/Rectangle.d Sat Mar 21 11:22:55 2009 +0100 @@ -19,7 +19,6 @@ import org.eclipse.swt.SWT; import org.eclipse.swt.SWTError; -import tango.text.convert.Format; /** * Instances of this class represent rectangular areas in an @@ -157,7 +156,7 @@ * * @see #hashCode() */ -public override int opEquals (Object object) { +public override equals_t opEquals (Object object) { if (object is this) return true; if( auto r = cast(Rectangle) object ){ return (r.x is this.x) && (r.y is this.y) && (r.width is this.width) && (r.height is this.height);