appDisplay: Remove shellWorkspaceLaunch()

It was deprecated in commit 942758bb308 back in 2019.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>
This commit is contained in:
Florian Müllner 2024-02-16 23:42:22 +01:00 committed by Marge Bot
parent dc0690b761
commit fbc7290bcf

View File

@ -3189,18 +3189,6 @@ export const AppIcon = GObject.registerClass({
this.icon.animateZoomOutAtPos(x, y);
}
shellWorkspaceLaunch(params) {
let {stack} = new Error();
log(`shellWorkspaceLaunch is deprecated, use app.open_new_window() instead\n${stack}`);
params = Params.parse(params, {
workspace: -1,
timestamp: 0,
});
this.app.open_new_window(params.workspace);
}
getDragActor() {
return this.app.create_icon_texture(Main.overview.dash.iconSize);
}