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:
@ -312,7 +312,7 @@ class AutorunNotification extends MessageTray.Notification {
|
||||
gicon: app.get_icon(),
|
||||
style_class: 'hotplug-notification-item-icon',
|
||||
});
|
||||
box.add(icon);
|
||||
box.add_child(icon);
|
||||
|
||||
let label = new St.Bin({
|
||||
child: new St.Label({
|
||||
@ -320,7 +320,7 @@ class AutorunNotification extends MessageTray.Notification {
|
||||
y_align: Clutter.ActorAlign.CENTER,
|
||||
}),
|
||||
});
|
||||
box.add(label);
|
||||
box.add_child(label);
|
||||
|
||||
const button = new St.Button({
|
||||
child: box,
|
||||
|
Reference in New Issue
Block a user