iconGrid: Delete private child property when removing child

Delete a private property we set when the child got added to make sure
the reference is deleted after the child got removed from the grid.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/704
This commit is contained in:
Jonas Dreßler 2019-09-08 18:09:23 +02:00 committed by Florian Müllner
parent 8a7e44ccf0
commit 4915a9e8e4

View File

@ -251,6 +251,7 @@ var IconGrid = GObject.registerClass({
_childRemoved(grid, child) {
child.disconnect(child._iconGridKeyFocusInId);
delete child._iconGridKeyFocusInId;
}
vfunc_get_preferred_width(_forHeight) {