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



commit 06ff35147186868f01906f7eba2d5f21d5c88ab7
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 31ac7e6..2c46a8c 100644
--- a/src/lokview.js
+++ b/src/lokview.js
@@ -130,7 +130,7 @@ const LOKView = new Lang.Class({
         sw.get_style_context().add_class('documents-scrolledwin');
 
         if (isAvailable()) {
-            this._lokview = LOKDocView.View.new(null, null, null);
+            this._lokview = LOKDocView.View.new(null, null);
             sw.add(this._lokview);
 
             this._lokview.show();


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