[gnome-documents/gnome-3-20] lokview: LOKDocView.View.new accepts 2 arguments, not 3



commit ab12295f81bb74bd0ef946a127cfeea178a486b6
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Apr 18 17:17:07 2017 +0200

    lokview: LOKDocView.View.new accepts 2 arguments, not 3
    
    https://bugzilla.gnome.org/show_bug.cgi?id=781455

 src/lokview.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lokview.js b/src/lokview.js
index cdbeba4..7207f94 100644
--- a/src/lokview.js
+++ b/src/lokview.js
@@ -237,7 +237,7 @@ const LOKView = new Lang.Class({
 
     _createView: function() {
         if (isAvailable()) {
-            this.view = LOKDocView.View.new(null, null, null);
+            this.view = LOKDocView.View.new(null, null);
             this._sw.add(this.view);
             this.view.show();
             this.view.connect('button-press-event', Lang.bind(this, this._onButtonPressEvent));


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