[gnome-shell] loginDialog: Add missing return value



commit ef8123e3a2d2f52d56451c94c5e5e3ed67dd0f73
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Mar 7 16:16:20 2014 +0100

    loginDialog: Add missing return value
    
    _loadUserList() may be used as idle handler, so we should explicitly
    return a boolean.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725905

 js/gdm/loginDialog.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index 7810b03..080237c 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -861,6 +861,8 @@ const LoginDialog = new Lang.Class({
                                   Lang.bind(this, function(userManager, user) {
                                       this._userList.removeUser(user);
                                   }));
+
+        return GLib.SOURCE_REMOVE;
     },
 
     open: function() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]