[polari/wip/fmuellner/combined-gsoc: 92/137] userTracker: Remove unnecessary method split
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/fmuellner/combined-gsoc: 92/137] userTracker: Remove unnecessary method split
- Date: Thu, 28 Jul 2016 16:23:10 +0000 (UTC)
commit c44bbb68a47a18729322d27eb542baebb23abc88
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Jul 19 20:45:09 2016 +0200
userTracker: Remove unnecessary method split
src/userTracker.js | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/src/userTracker.js b/src/userTracker.js
index ff8a7a7..67295da 100644
--- a/src/userTracker.js
+++ b/src/userTracker.js
@@ -30,21 +30,13 @@ const UserStatusMonitor = new Lang.Class({
},
_onAccountAdded: function(accountsMonitor, account) {
- this._addUserTrackerForAccount(account);
- },
-
- _onAccountRemoved: function(accountsMonitor, account) {
- this._removeUserTrackerForAccount(account);
- },
-
- _addUserTrackerForAccount: function(account) {
if (this._userTrackersMaping.has(account))
return;
this._userTrackersMaping.set(account, new UserTracker(account));
},
- _removeUserTrackerForAccount: function(account) {
+ _onAccountRemoved: function(accountsMonitor, account) {
if (!this._userTrackersMaping.has(account))
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]