[gnome-music/wip/mschraal/gtk4: 99/102] artistalbumswidget: Adapt to Container changes



commit 306331804147b9ceee418cd4d8d60833b29ea689
Author: Marinus Schraal <mschraal gnome org>
Date:   Tue Jun 9 01:21:29 2020 +0200

    artistalbumswidget: Adapt to Container changes

 gnomemusic/widgets/artistalbumswidget.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/artistalbumswidget.py b/gnomemusic/widgets/artistalbumswidget.py
index 005a59ac..a0890e79 100644
--- a/gnomemusic/widgets/artistalbumswidget.py
+++ b/gnomemusic/widgets/artistalbumswidget.py
@@ -88,7 +88,7 @@ class ArtistAlbumsWidget(Gtk.ListBox):
             GObject.BindingFlags.BIDIRECTIONAL
             | GObject.BindingFlags.SYNC_CREATE)
 
-        row.add(widget)
+        row.props.child = widget
         widget.connect("song-activated", self._song_activated)
 
         return row


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