[gnome-music/wip/mschraal/gtk4: 64/81] albumartcache: More surface mess
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 64/81] albumartcache: More surface mess
- Date: Wed, 26 Feb 2020 15:15:56 +0000 (UTC)
commit 7def32295ddb20f7b84c564acdae1a7b9f4cba76
Author: Marinus Schraal <mschraal gnome org>
Date: Thu Oct 31 16:27:45 2019 +0100
albumartcache: More surface mess
gnomemusic/albumartcache.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/albumartcache.py b/gnomemusic/albumartcache.py
index 93b6bf73..5aa0ace5 100644
--- a/gnomemusic/albumartcache.py
+++ b/gnomemusic/albumartcache.py
@@ -215,8 +215,9 @@ class Art(GObject.GObject):
embedded_art.query(self._coresong)
def _cache_hit(self, klass, pixbuf):
- surface = Gdk.cairo_surface_create_from_pixbuf(
- pixbuf, self._scale, None)
+ # surface = Gdk.cairo_surface_create_from_pixbuf(
+ # pixbuf, self._scale, None)
+ surface = None
surface = _make_icon_frame(surface, self._size, self._scale)
self._surface = surface
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]