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:
@ -391,7 +391,7 @@ export const TilePreview = GObject.registerClass(
|
||||
class TilePreview extends St.Widget {
|
||||
_init() {
|
||||
super._init();
|
||||
global.window_group.add_actor(this);
|
||||
global.window_group.add_child(this);
|
||||
|
||||
this._reset();
|
||||
this._showing = false;
|
||||
@ -487,7 +487,7 @@ class ResizePopup extends St.Widget {
|
||||
y_expand: true,
|
||||
});
|
||||
this.add_child(this._label);
|
||||
Main.uiGroup.add_actor(this);
|
||||
Main.uiGroup.add_child(this);
|
||||
}
|
||||
|
||||
set(rect, displayW, displayH) {
|
||||
|
Reference in New Issue
Block a user