From f514160faee6a61b03324db714d5a560aa145f22 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 15 Feb 2013 12:19:49 -0500 Subject: [PATCH] unlockDialog: fix another occurrence of add_watch => add_idle_watch https://bugzilla.gnome.org/show_bug.cgi?id=693909 --- js/ui/unlockDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index b11f1eca3..f1efe5cad 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -229,7 +229,7 @@ const UnlockDialog = new Lang.Class({ Main.ctrlAltTabManager.addGroup(this.dialogLayout, _("Unlock Window"), 'dialog-password-symbolic'); this._idleMonitor = new GnomeDesktop.IdleMonitor(); - this._idleWatchId = this._idleMonitor.add_watch(IDLE_TIMEOUT * 1000, Lang.bind(this, this._escape)); + this._idleWatchId = this._idleMonitor.add_idle_watch(IDLE_TIMEOUT * 1000, Lang.bind(this, this._escape)); }, _updateSensitivity: function(sensitive) {