diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-08-24 01:11:15 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-08-24 11:28:59 +0100 |
commit | 5e311d4d85d235a53191558a2337b534bf1a8a3a (patch) | |
tree | a86cb25c42671071f6a8881b8eb624e4b2b41321 /gtk/gtkfontbutton.c | |
parent | b945033b4122f454487cfc3739cfa4ab973db378 (diff) | |
download | gtk+-expander-ref-leak.tar.gz |
Release an extra reference on GtkExpander:childexpander-ref-leak
The child of a GtkExpander is owned directly by the expander whenever
the "expanded" flag is unset.
We are adding an additional reference to the child of an expander when
expander is not expanded.
Additionally, if a GtkExpander is disposed while not expanded, we need
to explicitly release the reference on the child widget that we own.
This reference leak was masked in GTK3 by GtkContainer removing each
child from the parent container by recursively calling
gtk_widget_destroy().
Diffstat (limited to 'gtk/gtkfontbutton.c')
0 files changed, 0 insertions, 0 deletions