[gnome-music/wip/jfelder/gtk4-v3: 164/208] artcache: Remove commented code
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 164/208] artcache: Remove commented code
- Date: Fri, 11 Feb 2022 11:40:23 +0000 (UTC)
commit 80eb51c6ea75f4e0fe0478897a3dd8f00a87510c
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]