[gnome-music/wip/mschraal/gtk4-v2: 42/69] artcache: Fix icon lookup api call
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-v2: 42/69] artcache: Fix icon lookup api call
- Date: Sat, 22 May 2021 20:45:34 +0000 (UTC)
commit 71ae91218eeee07eafe9357d47673b9c546f77b9
Author: Marinus Schraal <mschraal gnome org>
Date: Sun Apr 11 23:19:44 2021 +0200
artcache: Fix icon lookup api call
gnomemusic/artcache.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/artcache.py b/gnomemusic/artcache.py
index 72e6931db..d512c4e1f 100644
--- a/gnomemusic/artcache.py
+++ b/gnomemusic/artcache.py
@@ -113,8 +113,8 @@ class DefaultIcon(GObject.GObject):
super().__init__()
def _make_default_icon(self, icon_type, art_size, scale, round_shape):
- icon_info = self._default_theme.lookup_icon_for_scale(
- icon_type.value, art_size.width / 3, scale, 0)
+ icon_info = self._default_theme.lookup_icon(
+ icon_type.value, None, art_size.width / 3, scale, 0, 0)
icon = icon_info.load_surface()
icon_surface = _make_icon_frame(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]