[gnome-shell] gdm: fix missing braces
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] gdm: fix missing braces
- Date: Mon, 13 Oct 2014 15:50:34 +0000 (UTC)
commit 6a969b934ff36df8133f6ab7ac97ff6bc48ac702
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Thu Oct 9 14:25:48 2014 -0400
gdm: fix missing braces
Incorrect braces meant that if the ShellUserVerifier was destroyed before
the call to fprintManager.GetDefaultDeviceRemote(), the reply would result in
an error.
https://bugzilla.gnome.org/show_bug.cgi?id=738256
js/gdm/util.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/gdm/util.js b/js/gdm/util.js
index 6ddd371..4bfaf7c 100644
--- a/js/gdm/util.js
+++ b/js/gdm/util.js
@@ -300,9 +300,10 @@ const ShellUserVerifier = new Lang.Class({
this._fprintManager.GetDefaultDeviceRemote(Gio.DBusCallFlags.NONE, this._cancellable, Lang.bind(this,
function(device, error) {
- if (!error && device)
+ if (!error && device) {
this._haveFingerprintReader = true;
this._updateDefaultService();
+ }
}));
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]