[Gtk-sharp-list] Installing GTK# on Mandrake 9.0

Mike Kestner mkestner@ximian.com
10 Oct 2002 19:20:02 -0500


On Thu, 2002-10-10 at 16:31, Carlos Kassab wrote:

> Scribble.cs(33) error CS0019: Operator | cannot be applied to operands
> of type `int' and `Gdk.EventMask'
> Compilation failed: 2 error(s), 0 warnings
> make[1]: *** [scribble.exe] Error 1
> make[1]: Saliendo directorio `/home/ckg/Utils/mono/gtk-sharp-0.4/sample'
> make: *** [binding] Error 1
> [root@ckg01 gtk-sharp-0.4]#=20

Looks like this has been fixed since 0.4, so you'll either need to get
Gtk# from anoncvs or wait for 0.5.  I'm going to try to get a release
out this weekend.

If you want to hand edit instead, you need to add (int) casts to all the
EventMask references in the | at sample/Scribble.cs starting at line 33.

-- 
Mike Kestner <mkestner@ximian.com>