[gnome-music/wip/jfelder/gtk4-v3: 167/259] artcache: Remove commented code
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 167/259] artcache: Remove commented code
- Date: Thu, 17 Feb 2022 08:41:23 +0000 (UTC)
commit 2a79b306fc534f215bcec82714518405541cfc34
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]