[Gtk-sharp-list] PanelApplet issue

Tobias Schlitt tobias at schlitt.info
Thu Jul 27 16:22:56 EDT 2006


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060727/9f214d23/attachment.bin 


More information about the Gtk-sharp-list mailing list