[gnome-music/wip/jfelder/gtk4-v3: 8/98] 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: 8/98] artcache: Fix icon lookup api call
- Date: Thu, 3 Feb 2022 05:35:48 +0000 (UTC)
commit 8e6997a228a8ce89a00aa9e90e2a21cfc54c9131
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]