[Gtk-sharp-list] EventArgs

Gonzalo Paniagua Javier gonzalo@ximian.com
10 Dec 2002 00:41:48 +0100


Hi!

I just commited a patch in the generator code that makes it give the
correct type name for EventArgs ("System.EventArgs").

While debugging a patch in runtime assembly loading code, i saw that
Type.GetType ("EventArgs") was called and tried to find out why even
failing (return null), gtk# worked.

As Rachel pointed out, in gtk/generated/GtkSharp.voidObjectSignal.cs, it
does not even use the type returned. It does:

line 23:			h (inst._obj, new EventArgs ());

I suggest changing that to be EventArgs.Empty.

-Gonzalo