[gnome-music/wip/jfelder/gtk4-v3: 31/112] artcache: Fix icon lookup api call
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 31/112] artcache: Fix icon lookup api call
- Date: Wed, 2 Feb 2022 23:32:37 +0000 (UTC)
commit 73189ddbf4983e5bb2e3c569abd7b7203862eb1e
Author: Marinus Schraal <mschraal gnome org>
Date: Sun Apr 11 23:19:44 2021 +0200
artcache: Fix icon lookup api call
gnomemusic/defaulticon.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/defaulticon.py b/gnomemusic/defaulticon.py
index 2ccc563d7..32c1921be 100644
--- a/gnomemusic/defaulticon.py
+++ b/gnomemusic/defaulticon.py
@@ -106,8 +106,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, 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]