[gnome-documents] preview: Remove unused variable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] preview: Remove unused variable
- Date: Fri, 6 Mar 2015 15:34:09 +0000 (UTC)
commit 83d3895c44f1dc40d6bde706620a3ce223901d7b
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Mar 6 15:32:45 2015 +0100
preview: Remove unused variable
Fallout from 487ec071d54b0d33458b908f8f0de31e9d82f869
https://bugzilla.gnome.org/show_bug.cgi?id=745172
src/preview.js | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/preview.js b/src/preview.js
index ea22671..c1bbd85 100644
--- a/src/preview.js
+++ b/src/preview.js
@@ -59,7 +59,6 @@ const PreviewView = new Lang.Class({
this._fsToolbar = null;
this._overlay = overlay;
this._lastSearch = '';
- this._loadError = false;
Application.modeController.connect('fullscreen-changed', Lang.bind(this,
this._onFullscreenChanged));
@@ -150,10 +149,7 @@ const PreviewView = new Lang.Class({
_onLoadError: function(manager, doc, message, exception) {
this._controlsVisible = true;
-
- this._loadError = true;
this._syncControlsVisible();
- this._loadError = false;
},
_onActionStateChanged: function(action, state) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]