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:
parent
8a7e44ccf0
commit
4915a9e8e4
@ -251,6 +251,7 @@ var IconGrid = GObject.registerClass({
|
||||
|
||||
_childRemoved(grid, child) {
|
||||
child.disconnect(child._iconGridKeyFocusInId);
|
||||
delete child._iconGridKeyFocusInId;
|
||||
}
|
||||
|
||||
vfunc_get_preferred_width(_forHeight) {
|
||||
|
Loading…
Reference in New Issue
Block a user