js: Adapt for ::child-{added,removed}

These were previously known as ::actor-{added,removed}

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3014>
This commit is contained in:
Zander Brown
2023-11-14 10:52:53 +00:00
parent ab7ed393cb
commit 596efc3fa9
5 changed files with 12 additions and 12 deletions

View File

@ -1192,8 +1192,8 @@ export const IconGrid = GObject.registerClass({
this._currentPage = 0;
this._currentMode = -1;
this.connect('actor-added', this._childAdded.bind(this));
this.connect('actor-removed', this._childRemoved.bind(this));
this.connect('child-added', this._childAdded.bind(this));
this.connect('child-removed', this._childRemoved.bind(this));
this.connect('destroy', () => layoutManager.disconnect(pagesChangedId));
}