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



commit d768d52156ed0ddf3865750941ef7f5a00ad9c73
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 092adc5..371086a 100644
--- a/src/lokview.js
+++ b/src/lokview.js
@@ -128,7 +128,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]