[gnome-documents] documents: Remove unused code



commit c2a43f67321fef754a8e68039b56c727925b93c0
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon May 20 15:16:52 2013 +0200

    documents: Remove unused code
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700712

 src/documents.js |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/documents.js b/src/documents.js
index 4f0cbb8..a193e21 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -373,9 +373,6 @@ const DocCommon = new Lang.Class({
         if (this._failedThumbnailing)
             return;
 
-        if (!this._triedThumbnailing)
-            this._triedThumbnailing = true;
-
         this._file = Gio.file_new_for_uri(this.uri);
         this._file.query_info_async(Gio.FILE_ATTRIBUTE_THUMBNAIL_PATH,
                                     0, 0, null,
@@ -583,7 +580,6 @@ const LocalDocument = new Lang.Class({
 
     _init: function(cursor) {
         this._failedThumbnailing = false;
-        this._triedThumbnailing = false;
 
         this.parent(cursor);
 
@@ -650,7 +646,6 @@ const GoogleDocument = new Lang.Class({
     Extends: DocCommon,
 
     _init: function(cursor) {
-        this._triedThumbnailing = true;
         this._failedThumbnailing = true;
 
         this.parent(cursor);
@@ -748,7 +743,6 @@ const SkydriveDocument = new Lang.Class({
     Extends: DocCommon,
 
     _init: function(cursor) {
-        this._triedThumbnailing = true;
         this._failedThumbnailing = true;
 
         this.parent(cursor);


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