[gnome-documents] documents: Pass the correct arguments to pdf_loader_load_uri_async



commit 8708e85591790cd23d005c4ec74fafaf1db31968
Author: Pranav Kant <pranav913 gmail com>
Date:   Mon Oct 6 15:55:20 2014 +0200

    documents: Pass the correct arguments to pdf_loader_load_uri_async
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720516

 src/documents.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/documents.js b/src/documents.js
index bcdeb91..138b560 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -787,7 +787,7 @@ const GoogleDocument = new Lang.Class({
             function(entry, service, exception) {
                 if (exception) {
                     // try loading from the most recent cache, if any
-                    GdPrivate.pdf_loader_load_uri_async(this.identifier, cancellable, Lang.bind(this,
+                    GdPrivate.pdf_loader_load_uri_async(this.identifier, passwd, cancellable, Lang.bind(this,
                         function(source, res) {
                             try {
                                 let docModel = GdPrivate.pdf_loader_load_uri_finish(res);
@@ -1013,7 +1013,7 @@ const SkydriveDocument = new Lang.Class({
             function(entry, service, exception) {
                 if (exception) {
                     // try loading from the most recent cache, if any
-                    GdPrivate.pdf_loader_load_uri_async(this.identifier, cancellable, Lang.bind(this,
+                    GdPrivate.pdf_loader_load_uri_async(this.identifier, passwd, cancellable, Lang.bind(this,
                         function(source, res) {
                             try {
                                 let docModel = GdPrivate.pdf_loader_load_uri_finish(res);


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