[gnome-documents/gnome-3-8] documents: Remove unused code
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/gnome-3-8] documents: Remove unused code
- Date: Fri, 7 Jun 2013 14:22:02 +0000 (UTC)
commit 101b8740d14db306f9569928f865954cf7be936a
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 2d6ed16..c2a6861 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]