mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
Merge branch 'wip/chergert/fix-stack-page-leak' into 'main'
stack: clear accessible parent when removing child Closes #5626 See merge request GNOME/gtk!5571
This commit is contained in:
commit
8eb3c55709
@ -1726,6 +1726,7 @@ stack_remove (GtkStack *stack,
|
||||
if (priv->last_visible_child == child_info)
|
||||
priv->last_visible_child = NULL;
|
||||
|
||||
gtk_accessible_set_accessible_parent (GTK_ACCESSIBLE (child), NULL, NULL);
|
||||
gtk_widget_unparent (child);
|
||||
|
||||
g_clear_object (&child_info->widget);
|
||||
|
Loading…
Reference in New Issue
Block a user