[sushi/wip/cosimoc/no-clutter] image: delete scaledSurface when resetting pixbuf
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi/wip/cosimoc/no-clutter] image: delete scaledSurface when resetting pixbuf
- Date: Sun, 9 Apr 2017 05:08:46 +0000 (UTC)
commit 6937f2effa887402f18074dbefa9acb1eeb085d3
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Apr 8 21:24:19 2017 -0700
image: delete scaledSurface when resetting pixbuf
src/js/viewers/image.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/js/viewers/image.js b/src/js/viewers/image.js
index 554e922..ca276d9 100644
--- a/src/js/viewers/image.js
+++ b/src/js/viewers/image.js
@@ -118,6 +118,7 @@ const Image = new Lang.Class({
set pix(p) {
this._pix = p;
+ this._scaledSurface = null;
this.queue_resize();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]