]> Pileus Git - ~andy/gtk/commit
gtk_window_set_attached_to: ref(), not ref_sink() the attach_widget
authorMichael Natterer <mitch@gimp.org>
Tue, 21 Feb 2012 00:04:53 +0000 (01:04 +0100)
committerMichael Natterer <mitch@gimp.org>
Tue, 21 Feb 2012 00:06:43 +0000 (01:06 +0100)
commit914053a2a3d21b87c81527ed25fc36776d976488
treee50170a1ce8c147a56e964b557870fde1b23b6ca
parentdb14dc823736bc4416aad5afecf8b388b4d0f0bf
gtk_window_set_attached_to: ref(), not ref_sink() the attach_widget

The attached popup doesn't take ownership of its "parent" widget, so
ref_sink() was wrong, and caused widgets to be leaked.
gtk/gtkwindow.c