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

@ -576,8 +576,8 @@ export const MessageListSection = GObject.registerClass({
});
this.add_child(this._list);
this._list.connect('actor-added', this._sync.bind(this));
this._list.connect('actor-removed', this._sync.bind(this));
this._list.connect('child-added', this._sync.bind(this));
this._list.connect('child-removed', this._sync.bind(this));
Main.sessionMode.connectObject(
'updated', () => this._sync(), this);