From 57d6fec65edc02a3544694b0577e372ec9f087ac Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 5 Jan 2013 14:21:30 -0500 Subject: [PATCH] Really use the right getter Doh, it is actually a uint, not an int. --- js/ui/screenShield.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index d2754df39..278f7fbc9 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -587,7 +587,7 @@ const ScreenShield = new Lang.Class({ let elapsedTime = (GLib.get_monotonic_time() - this._activationTime) / 1000000; let shouldLock = lightboxWasShown && this._settings.get_boolean(LOCK_ENABLED_KEY) && - (elapsedTime >= this._settings.get_int(LOCK_DELAY_KEY)); + (elapsedTime >= this._settings.get_uint(LOCK_DELAY_KEY)); if (shouldLock || this._isLocked) { this.lock(false); } else if (this._isActive) {