[gnome-music/wip/jfelder/gtk4-v3: 38/167] 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: 38/167] artcache: Fix icon lookup api call
- Date: Fri, 4 Feb 2022 21:14:15 +0000 (UTC)
commit 2524c2d7d8c8bf30cddd3e1ab50772b6455240b9
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 b9a084bd0..61586f3d7 100644
--- a/gnomemusic/defaulticon.py
+++ b/gnomemusic/defaulticon.py
@@ -120,8 +120,8 @@ class DefaultIcon(GObject.GObject):
def _make_default_icon(
self, icon_type: DefaultIcon.Type, art_size: ArtSize, scale: int,
round_shape: bool, dark: bool) -> cairo.Surface:
- 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]