[gnome-music/wip/mschraal/gtk4-v2: 10/56] artcache: IconTheme API fix (FIXME)
- From: Marinus Schraal <mschraal src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-music/wip/mschraal/gtk4-v2: 10/56] artcache: IconTheme API fix (FIXME)
 
- Date: Mon, 10 May 2021 23:36:12 +0000 (UTC)
 
commit 94d37c2531809f164c4152843f7463a10692600f
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/artcache.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/artcache.py b/gnomemusic/artcache.py
index 70f17c52b..72e6931db 100644
--- a/gnomemusic/artcache.py
+++ b/gnomemusic/artcache.py
@@ -107,7 +107,7 @@ class DefaultIcon(GObject.GObject):
     _cache: Dict[
         Tuple["DefaultIcon.Type", ArtSize, int, 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]