[Gtk-sharp-list] Small patch to gdk/Drawable.custom
Tue, 19 Aug 2003 18:12:28 -0400
On Tue, 2003-08-19 at 02:01, Randy J. Ray wrote:
> While building monodoc 0.6, along with mono 0.26, I got an error in list.cs
> when it was unable to find a prototype for Gdk.Drawable.DrawRectangle(). The
> args set for the call in question was (Gdk.GC, bool, Gdk.Rectangle). There's a
> version in gdk/Drawable.custom that has an int in the second place. More than
> likely, it would be just as right (or more so) to patch list.cs to pass an int
> instead of the bool (in fact, it's a constant "true" in that case). But since
> it does kind of make sense to permit a boolean in that place (the int is
> pretty much a bool in disguise), I offer the attached patch to gdk/Drawable.
> custom, patch against gtk-sharp 0.10.
The missing API is already available in CVS. Mike (and I) will be making
a new Gtk# release soon.