Thread view

https://bugzilla.gnome.org/show_bug.cgi?id=616061
gnome-perl | Gtk2 | unspecified
Summary: gtk_menu_attach_to_widget() free detach func
immediately after called
Classification: Bindings
Product: gnome-perl
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: Gtk2
AssignedTo: gtk2-perl-bugs@...
ReportedBy: user42@...
QAContact: gtk2-perl-bugs@...
GNOME target: ---
GNOME version: ---
Created an attachment (id=158990)
View: https://bugzilla.gnome.org/attachment.cgi?id=158990
Review: https://bugzilla.gnome.org/review?bug=616061&attachment=158990
gtk2perl_menu_detach_func() free the detach func after called
I believe the detach func in gtk_menu_attach_to_widget() is only called once
and that whatever closure etc is there can be freed immediately after the
detach.
The benefit would be to immediately release anything captured by a closure in
that detach func, as opposed to waiting until the next attach_to_widget(),
which of course might be either a long time or perhaps never.
--
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.