Mercurial > projects > dwt2
diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/RGB.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/RGB.d Fri Mar 20 23:03:58 2009 +0100 +++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/RGB.d Sat Mar 21 11:22:55 2009 +0100 @@ -17,7 +17,6 @@ public import org.eclipse.swt.internal.SerializableCompatibility; import org.eclipse.swt.SWT; -import tango.text.convert.Format; /** * Instances of this class are descriptions of colors in @@ -198,7 +197,7 @@ * * @see #hashCode() */ -public override int opEquals(Object object) { +public override equals_t opEquals(Object object) { if (object is this) return true; if( auto rgb = cast(RGB) object ){ return (rgb.red is this.red) && (rgb.green is this.green) && (rgb.blue is this.blue);