[gnome-music/wip/mschraal/gtk4-v3: 51/187] artistalbumswidget: Use set_child instead of add




commit 8b38376d8313b03e6d70a1843ad52905e5ffd780
Author: Marinus Schraal <mschraal gnome org>
Date:   Mon Apr 12 17:18:56 2021 +0200

    artistalbumswidget: Use set_child instead of add

 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 2f6d64dda..a774e0594 100644
--- a/gnomemusic/widgets/artistalbumswidget.py
+++ b/gnomemusic/widgets/artistalbumswidget.py
@@ -83,7 +83,7 @@ class ArtistAlbumsWidget(Adw.Clamp):
             GObject.BindingFlags.BIDIRECTIONAL
             | GObject.BindingFlags.SYNC_CREATE)
 
-        row.add(widget)
+        row.set_child(widget)
 
         return row
 


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