cleanup: Replace deprecated lower/raise calls

Those methods have been deprecated for a long time, so
move to the drop-in replacement.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/808
This commit is contained in:
Florian Müllner
2019-11-05 20:17:19 +01:00
parent 0617be9fb9
commit 1e203f4631
16 changed files with 39 additions and 32 deletions

View File

@ -206,7 +206,7 @@ var ModalDialog = GObject.registerClass({
this._hasModal = false;
if (!this._shellReactive)
this._eventBlocker.raise_top();
this.backgroundStack.set_child_above_sibling(this._eventBlocker, null);
}
pushModal(timestamp) {
@ -229,7 +229,7 @@ var ModalDialog = GObject.registerClass({
}
if (!this._shellReactive)
this._eventBlocker.lower_bottom();
this.backgroundStack.set_child_below_sibling(this._eventBlocker, null);
return true;
}