[gnome-music/wip/mschraal/gtk4-v3: 163/187] artcache: Remove commented code




commit 44fd724edd0a04327921f92e956466cc7b24a399
Author: Marinus Schraal <mschraal gnome org>
Date:   Sat Feb 5 12:15:36 2022 +0100

    artcache: Remove commented code

 gnomemusic/artcache.py | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/gnomemusic/artcache.py b/gnomemusic/artcache.py
index b3c769446..d559f5ba0 100644
--- a/gnomemusic/artcache.py
+++ b/gnomemusic/artcache.py
@@ -116,19 +116,11 @@ class ArtCache(GObject.GObject):
         stream.close_async(
             GLib.PRIORITY_DEFAULT_IDLE, None, self._close_stream, None)
 
-        # scale = self._widget.props.scale_factor
-        # surface = Gdk.cairo_surface_create_from_pixbuf(pixbuf, scale, None)
         texture = Gdk.Texture.new_for_pixbuf(pixbuf)
         if (texture
                 and (isinstance(self._coreobject, CoreAlbum)
                      or isinstance(self._coreobject, CoreSong))):
             paintable = CoverPaintable(self._size, texture)
-        # if isinstance(self._coreobject, CoreArtist):
-        #     surface = make_icon_frame(
-        #         surface, self._size, scale, round_shape=True)
-        # elif (isinstance(self._coreobject, CoreAlbum)
-        #         or isinstance(self._coreobject, CoreSong)):
-        #     surface = make_icon_frame(surface, self._size, scale)
         else:
             paintable = CoverPaintable(self._size)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]