[gnome-music/wip/jfelder/gtk4-v3: 43/169] artistalbumswidget: Use set_child instead of add




commit 3788d11f4b856897c9ab6d68ea5effa9a80c3aa1
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]