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



commit b5694dc818116c9255c01e73a87168617ba1e8c7
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 f9d7c27..8c0f334 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -765,7 +765,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);
@@ -991,7 +991,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]