On 07/27/2006 09:45 PM Mike Kestner wrote:
> On Thu, 2006-07-27 at 11:30 +0200, Tobias Schlitt wrote:

>> I'm quite new to Mono, so please forgive me stupid errors. Thanks!

>> My Problem relates to the PanelApplet class which I am using to write
>> some Gnome panel applets. So far it works quite well, but on certain
>> actions the applet crashes with a stack trace and I don't really have an
>> approach to search for the reason.

> I'm wondering if the delegates are getting GC'd.  It doesn't look like
> we are holding a ref to the BonoboUIVerb[] or anything so that the
> delegates would stay alive.

> What happens if you hold a ref to the BonoboUIVerb[] that you pass to
> SetupMenu ()?

Hey, thanks, that was the issue. The reason sounds quite logical, but
after thinking about it, it was a real newbe question.

Sorry for bothering!
Toby
-- 
Tobias Schlitt - Zend Certified Engineer         GPG Key: 0xC462BC14
a passion for php                            http://www.schlitt.info
Like to say "thank you"?    -  http://pear.php.net/wishlist.php/toby

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to