[gnome-maps] exportViewDialog: Remove unused argument



commit 3709dd8b912b27e504cf205f04b863584d36862c
Author: Marcus Lundblad <ml update uu se>
Date:   Fri Nov 10 08:36:02 2017 +0100

    exportViewDialog: Remove unused argument
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782861

 src/exportViewDialog.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/exportViewDialog.js b/src/exportViewDialog.js
index a18bf2a..243e48b 100644
--- a/src/exportViewDialog.js
+++ b/src/exportViewDialog.js
@@ -60,8 +60,9 @@ var ExportViewDialog = new Lang.Class({
         params.use_header_bar = true;
         this.parent(params);
 
-        this._cancelButton.connect('clicked',
-                                   this.response.bind(this, Response.CANCEL));
+        this._cancelButton.connect('clicked', (function() {
+            this.response(Response.CANCEL);
+        }).bind(this));
         this._exportButton.connect('clicked', this._exportView.bind(this));
         this._filenameEntry.connect('changed',
                                     this._onFileNameChanged.bind(this));


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