From e1e08f0a684281ba4df35d9ce5bc92f0510fd188 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Mon, 23 Nov 2015 17:21:49 -0600 Subject: [PATCH] loginDialog: Fix TypeError when user is deleted LoginDialog has a private _user, but UserListItem has a public user. Easy to get wrong since _user would be the right thing to type in 90% of this file. --- js/gdm/loginDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index b400d7982..4150649ab 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -96,7 +96,7 @@ const UserListItem = new Lang.Class({ }, _onDestroy: function() { - this._user.disconnect(this._userChangedId); + this.user.disconnect(this._userChangedId); }, _onClicked: function() {