summaryrefslogtreecommitdiff
path: root/gtk/gtkfontbutton.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-08-24 01:11:15 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-08-24 11:28:59 +0100
commit5e311d4d85d235a53191558a2337b534bf1a8a3a (patch)
treea86cb25c42671071f6a8881b8eb624e4b2b41321 /gtk/gtkfontbutton.c
parentb945033b4122f454487cfc3739cfa4ab973db378 (diff)
downloadgtk+-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