[gnome-music/wip/jfelder/gtk4-v3: 24/166] artcache: IconTheme API fix (FIXME)
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 24/166] artcache: IconTheme API fix (FIXME)
- Date: Fri, 4 Feb 2022 21:18:38 +0000 (UTC)
commit 2d9cff10b60bffdbda9a60c6eef3dc6383c3e95a
Author: Marinus Schraal <mschraal gnome org>
Date: Sun Apr 11 17:00:32 2021 +0200
artcache: IconTheme API fix (FIXME)
Should use get_for_display?
gnomemusic/defaulticon.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/defaulticon.py b/gnomemusic/defaulticon.py
index e331cf625..b9a084bd0 100644
--- a/gnomemusic/defaulticon.py
+++ b/gnomemusic/defaulticon.py
@@ -112,7 +112,7 @@ class DefaultIcon(GObject.GObject):
_cache: Dict[
Tuple[DefaultIcon.Type, ArtSize, int, bool, bool], cairo.Surface] = {}
- _default_theme = Gtk.IconTheme.get_default()
+ _default_theme = Gtk.IconTheme.new()
def __init__(self):
super().__init__()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]