[gnome-documents] application: remove unused signal argument



commit da7f2f51ea810569ec622436192d4d7967b9bddb
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Apr 1 15:28:59 2017 -0700

    application: remove unused signal argument

 src/application.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index e2d0ae4..e17dbdd 100644
--- a/src/application.js
+++ b/src/application.js
@@ -241,7 +241,7 @@ const Application = new Lang.Class({
             return false;
 
         this.minersRunning.push(miner);
-        this.emitJS('miners-changed', this.minersRunning);
+        this.emitJS('miners-changed');
 
         miner._cancellable = new Gio.Cancellable();
         miner.RefreshDBRemote(['documents'], miner._cancellable, Lang.bind(this,
@@ -250,7 +250,7 @@ const Application = new Lang.Class({
                     function(element) {
                         return element != miner;
                     });
-                this.emitJS('miners-changed', this.minersRunning);
+                this.emitJS('miners-changed');
 
                 if (error) {
                     if (!error.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED))


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