gnome-perl | Gtk2 | unspecified
Summary: Gtk2::Gdk::Window destruction doesn't work correctly
GNOME target: ---
GNOME version: ---
Created an attachment (id=159437)
When creating a child Gtk2::Gdk::Window, I get an error when closing the
Either "Gdk-WARNING **: losing last reference to undestroyed window" if I
didn't call destroy on the child gdkwindow,
or "Attempt to free unreferenced scalar: SV 0x9a8ca78, Perl interpreter:
0x9a6b008." if I called destroy on the child gdkwindow.
(see attached test case)
Looking further, creating and destroying child gdkwindows continuously leaks
some memory, and doing the same with toplevel gdkwindows ends up with an error.
Replacing "GdkWindow_noinc * gdk_window_new" by "GdkWindow * gdk_window_new" in
xs/GdkWindow.xs seems to fix it, though I don't know enough about gtk and the
bindings to be sure it's the correct fix.
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.