From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2009-08-19 22:54:52
|
http://bugzilla.gnome.org/show_bug.cgi?id=592391 Summary: Gtk2::MenuItem leaks in some cases Classification: Bindings Product: gnome-perl Version: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: Gtk2 AssignedTo: gtk...@li... ReportedBy: squ...@fr... QAContact: gtk...@li... GNOME target: --- GNOME version: --- --- Comment #0 from Quentin Sculo <squ...@fr...> 2009-08-19 22:54:37 UTC --- Created an attachment (id=141193) test case A Gtk2::MenuItem (and Gtk2::CheckMenuItem ...) created with my $item=Gtk2::MenuItem->new('sometext'); will not be automatically destroyed unless it has been added to a menu. This does not happen if the Gtk2::MenuItem has been created with : my $item=Gtk2::MenuItem->new; even if a label is added afterward. You might say that menuitem are almost always added to a menu :) But in the case of menuitem used as proxy_menu_item for a Gtk2::ToolItem, the menuitem won't be destroyed unless the menuitem has been added to the overflow menu. -- Configure bugmail: http://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. |