[Gtk-sharp-list] Custom widgets

Mike Kestner mkestner@ximian.com
Mon, 16 Aug 2004 22:34:15 -0500


On Mon, 2004-08-16 at 17:16, Sergio Rubio wrote:

> The funny thing is that sometimes it works fine, I mean, it doesn't
> throw the GLib.MissingIntPtrCtorException.

Apparently because the GC isn't running.

> Am I missing something? What should I do to workaround this?. I
> appreciate your help.

There's already a bug filed related to this problem.  In the meantime,
hold a reference to the widget in your app and it won't get GC'd.

-- 
Mike Kestner <mkestner@ximian.com>