[gnome-documents] view: remove duplicated code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] view: remove duplicated code
- Date: Mon, 24 Oct 2016 03:48:40 +0000 (UTC)
commit 7635f8713deb3d61fc4ed462017ec97d27c30150
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Sep 19 14:43:07 2016 -0700
view: remove duplicated code
This is already called before this function is invoked.
src/view.js | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/view.js b/src/view.js
index fbea78c..f60c645 100644
--- a/src/view.js
+++ b/src/view.js
@@ -780,8 +780,6 @@ const View = new Lang.Class({
},
_createPreview: function(mode) {
- this._clearPreview();
-
let constructor;
switch (mode) {
case WindowMode.WindowMode.PREVIEW_EV:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]