[gnome-shell] util: drop call that can't do anything



commit 7d5d7453c218506f91bc20f66aee070857c2c2c6
Author: Ray Strode <rstrode redhat com>
Date:   Wed Jul 17 16:02:55 2013 -0400

    util: drop call that can't do anything
    
    this._clearMessageQueue() is a noop when this.hasPendingMessages is
    false so calling it in that case doesn't make sense.
    
    This commit drops that call.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=704347

 js/gdm/util.js |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/js/gdm/util.js b/js/gdm/util.js
index 04b2d49..c9af991 100644
--- a/js/gdm/util.js
+++ b/js/gdm/util.js
@@ -164,7 +164,6 @@ const ShellUserVerifier = new Lang.Class({
 
     answerQuery: function(serviceName, answer) {
         if (!this.hasPendingMessages) {
-            this._clearMessageQueue();
             this._userVerifier.call_answer_query(serviceName, answer, this._cancellable, null);
         } else {
             let signalId = this.connect('no-more-messages',


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