[sushi/wip/cosimoc/no-clutter: 55/67] 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: 55/67] image: delete scaledSurface when resetting pixbuf
- Date: Mon, 30 Apr 2018 15:18:16 +0000 (UTC)
commit ebfff760c525eb34c6dd1e5731194ba83c19b60f
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 77614f3..22a9b82 100644
--- a/src/js/viewers/image.js
+++ b/src/js/viewers/image.js
@@ -119,6 +119,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]