js: Stop using ClutterContainer API
These have been long deprecated over in clutter, and (via several vtables) simply forward the call to the equivalent ClutterActor methods Save ourselves the hassle and just use ClutterActor methods directly Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3010>
This commit is contained in:
@ -527,7 +527,7 @@ var BaseAppView = GObject.registerClass({
|
||||
this._scrollTimeoutId = 0;
|
||||
this._scrollView.connect('scroll-event', this._onScroll.bind(this));
|
||||
|
||||
this._scrollView.add_actor(this._grid);
|
||||
this._scrollView.add_child(this._grid);
|
||||
|
||||
const scroll = this._scrollView.hscroll;
|
||||
this._adjustment = scroll.adjustment;
|
||||
@ -3143,7 +3143,7 @@ export const AppIcon = GObject.registerClass({
|
||||
Main.overview.connectObject('hiding',
|
||||
() => this._menu.close(), this);
|
||||
|
||||
Main.uiGroup.add_actor(this._menu.actor);
|
||||
Main.uiGroup.add_child(this._menu.actor);
|
||||
this._menuManager.addMenu(this._menu);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user