[gnome-music/wip/mschraal/rework-art-widget: 13/26] artstack: Unneeded to add named stack page




commit 1d984f138e01411b09f8743902f1618a4c48d25e
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Mar 17 16:56:16 2022 +0100

    artstack: Unneeded to add named stack page

 gnomemusic/widgets/artstack.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/artstack.py b/gnomemusic/widgets/artstack.py
index eaa12a65b..1b12f8a7b 100644
--- a/gnomemusic/widgets/artstack.py
+++ b/gnomemusic/widgets/artstack.py
@@ -71,7 +71,7 @@ class ArtStack(Gtk.Stack):
         self._cover = Gtk.Image()
         self._cover.props.visible = True
 
-        self.add_named(self._cover, "A")
+        self.add_child(self._cover)
 
         self.props.size = size
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]