[gnome-music/wip/mschraal/gtk4: 124/143] albumartcache: More surface mess



commit 8198858a2a8b27e8f70ac4d822de8e71e658264e
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 f82d6038..dde330fe 100644
--- a/gnomemusic/albumartcache.py
+++ b/gnomemusic/albumartcache.py
@@ -234,8 +234,9 @@ class Art(GObject.GObject):
 
     @log
     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]