On 07/27/2006 11:15 PM Mike Kestner wrote: > On Thu, 2006-07-27 at 23:02 +0200, Tobias Schlitt wrote:
>>> It's still a bug. Gtk# should take care of that for you. The only >>> question now is how best to hold those references. We don't bind any >>> way to remove menu items. We can probably just hold them until the >>> PanelApplet is destroyed. >> I'm now holding them as a property in my panel class. Actually the >> PanelApplet class could hold them itself, since it is just 1 menu per >> panel. Or am I wrong? > If you are building your own copy of Gtk#, could you apply the attached > patch and make sure it fixes it without you manually holding a ref? Usually I get my Mono compiled from Gentoo, but for this reason I compiled it myself from SVN. I applied your patch, but actually nothing changed. Either it still does not take the correct libs, or I did something wrong. Maybe you can help me. I used the follwoing compile: mcs tempapplet.cs -r:/home/dotxp/dev/C#/gtk-sharp/gnome/gnome-sharp.dll -r:/home/dotxp/dev/C#/gtk-sharp/gtk/gtk-sharp.dll -r:/usr/lib/mono/gtk-sharp/glib-sharp.dll Anything wrong with that? Regards, 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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
