[Gtk-sharp-list] Subclassing GLib.Object

Mike Kestner mkestner@ximian.com
Mon, 17 May 2004 13:37:27 -0500

On Sun, 2004-05-16 at 01:45, Peter Williams wrote:
> Hi,
> Maybe I'm not doing this correctly, but right now I think gtk# doesn't
> let you create a subclass of GLib.Object directly, because
> Object.LookupGType() gets GType.Invalid from the default GType property
> of GLib.Object. The attached patch adds a special case to let you
> subclass successfully.

I think the correct fix is to change GLib.Object.GType to return the
correct value, GType.Object.  I committed this, along with some more
GLib.Object API protection cleanup.

Mike Kestner <mkestner@ximian.com>