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




commit bf1325b34a7c58b87a6282eae3de87ca6fd64cd9
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]