[gnome-documents/wip/lokdocview-rebase: 1/13] lokview: Fix open_document() arguments
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/wip/lokdocview-rebase: 1/13] lokview: Fix open_document() arguments
- Date: Fri, 4 Dec 2015 19:24:41 +0000 (UTC)
commit 16f17d8d763f049e4f5d6048195d27df9499e305
Author: Bastien Nocera <hadess hadess net>
Date: Fri Dec 4 15:59:45 2015 +0100
lokview: Fix open_document() arguments
https://bugs.documentfoundation.org/show_bug.cgi?id=96246
src/lokview.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lokview.js b/src/lokview.js
index d3ffb7a..7e089d1 100644
--- a/src/lokview.js
+++ b/src/lokview.js
@@ -116,7 +116,7 @@ const LOKView = new Lang.Class({
if (docModel == null && doc != null) {
let [ location, ] = GLib.filename_from_uri (doc.uri);
this._doc = doc;
- this.view.open_document(location, null, Lang.bind(this, this.open_document_cb), null);
+ this.view.open_document(location, "{}", null, Lang.bind(this, this.open_document_cb));
this._progressBar.show();
}
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]