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



commit b9ff800d9838b8dc2303557ba387bce05fa6afa5
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 8c8c7d2..f88ecf6 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -738,7 +738,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);
@@ -964,7 +964,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]