[Mono-devel-list] Warning with Gnome.About

Todd Berman tberman at off.net
Sun Jul 3 03:22:52 EDT 2005


On Fri, 2005-07-01 at 09:15 -0700, Harry Chesley wrote:
> I use Gnome.About to display my about box. If I just open and close the
> about box, I get four of the following warnings (with sequential increasing
> ids):
> 
> (Argeebee:5931): GLib-GObject-WARNING **: gsignal.c:1781: instance
> `0x9f08310' has no handler with id `183'
> 
> If I open and close the credits sub-window before closing the about box, I
> don't get any warnings.
> 
> Is there a way to avoid these warnings?
> 
> (I can easily write my own about box, but it seems a shame not to use the
> standard one.)
> 
> Thanks!
> 


This has to do with you calling Destroy with attached signal handlers,
You should either let the gc handle it for you, or detach the signal
handlers before you call Destroy.

--Todd




More information about the Mono-devel-list mailing list