[Gtk-sharp-list] Problem with Color.cs:Parse

Miguel de Icaza miguel@ximian.com
01 Oct 2002 18:34:36 -0400


Hey guys,

   The definition for Color.Parse in Gdk is this:

                public static int Parse(string spec, Gdk.Color color) {
                        int raw_ret = gdk_color_parse(spec, ref color);
                        int ret = raw_ret;
                        return ret;
                }

   The problem is that this will modify the color copy, but will never
return the actual color.  For that the signature of the method should
be:

	public static int Parse (string spec, ref Gdk.Color color)

Miguel