modalDialog: Finish cleanup in close()
timestamp is unused and removed after cleanup in commit 3574c5246a29dc2ad5b9dbc629e4e7647fbc41bf, this fixes this in the missed parts Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3253>
This commit is contained in:
parent
628d210826
commit
72223977c2
@ -191,12 +191,12 @@ export const ModalDialog = GObject.registerClass({
|
|||||||
this.destroy();
|
this.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
close(timestamp) {
|
close() {
|
||||||
if (this.state === State.CLOSED || this.state === State.CLOSING)
|
if (this.state === State.CLOSED || this.state === State.CLOSING)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this._setState(State.CLOSING);
|
this._setState(State.CLOSING);
|
||||||
this.popModal(timestamp);
|
this.popModal();
|
||||||
this._savedKeyFocus = null;
|
this._savedKeyFocus = null;
|
||||||
|
|
||||||
if (this._shouldFadeOut) {
|
if (this._shouldFadeOut) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user