From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-03-18 22:50:49
|
https://bugzilla.gnome.org/show_bug.cgi?id=592391 gnome-perl | Gtk2 | unspecified Kevin Ryde <user42> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |us...@zi... --- Comment #1 from Kevin Ryde <us...@zi...> 2010-03-18 22:50:37 UTC --- I think this is dodginess in Gtk itself. A new_with_label makes an GtkAccelLabel with its "accel-widget" set to the item, which is a circular reference between the item and label. Sample accel.pl attached. I suppose the circularity is normally undone by a destroy() on the top GtkMenu calling destroy on all its children and sub-children. Needing to call $item->destroy from perl is unpleasant, but I suppose it's not a bug strictly speaking. We've got notes in Gtk2::Window on the need for explicit destroy() there. Perhaps a similar bit in Gtk2::MenuItem, and a cross reference in Gtk2::AccelLabel. I might have a go at a few words if no-one beats me to it. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |