gdm: Make a method private

This commit is contained in:
Jasper St. Pierre 2014-03-07 17:53:33 -05:00
parent fee97da26b
commit 8173110842

View File

@ -222,7 +222,7 @@ const ShellUserVerifier = new Lang.Class({
return message.length * USER_READ_TIME; return message.length * USER_READ_TIME;
}, },
finishMessageQueue: function() { _finishMessageQueue: function() {
if (!this.hasPendingMessages) if (!this.hasPendingMessages)
return; return;
@ -234,7 +234,7 @@ const ShellUserVerifier = new Lang.Class({
_queueMessageTimeout: function() { _queueMessageTimeout: function() {
if (this._messageQueue.length == 0) { if (this._messageQueue.length == 0) {
this.finishMessageQueue(); this._finishMessageQueue();
return; return;
} }
@ -263,7 +263,7 @@ const ShellUserVerifier = new Lang.Class({
}, },
_clearMessageQueue: function() { _clearMessageQueue: function() {
this.finishMessageQueue(); this._finishMessageQueue();
if (this._messageQueueTimeoutId != 0) { if (this._messageQueueTimeoutId != 0) {
GLib.source_remove(this._messageQueueTimeoutId); GLib.source_remove(this._messageQueueTimeoutId);