[gnome-maps] printOperation: Avoid extranous function parameter



commit 42468d90a646844dff0c1c210cb7de71e948b162
Author: Marcus Lundblad <ml update uu se>
Date:   Mon Jan 1 14:33:09 2018 +0100

    printOperation: Avoid extranous function parameter

 src/printOperation.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/printOperation.js b/src/printOperation.js
index 004df0c..640e2bb 100644
--- a/src/printOperation.js
+++ b/src/printOperation.js
@@ -109,7 +109,7 @@ var PrintOperation = new Lang.Class({
     _runPrintOperation: function() {
         try {
             let result = this._operation.run(Gtk.PrintOperationAction.PRINT_DIALOG,
-                                             this._mainWindow, null);
+                                             this._mainWindow);
             if (result === Gtk.PrintOperationResult.ERROR) {
                 let error = this._operation.get_error();
                 Utils.debug('Failed to print: %s'.format(error));


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