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:
gtk2-perl-bugs@...
ReportedBy:
squentin@...
QAContact:
gtk2-perl-bugs@...
GNOME target: ---
GNOME version: ---
--- Comment #0 from Quentin Sculo <
squentin@...> 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.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs