[gnome-music/wip/jfelder/gtk4-v3: 56/167] artistalbumswidget: Use set_child instead of add
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 56/167] artistalbumswidget: Use set_child instead of add
- Date: Fri,  4 Feb 2022 21:14:16 +0000 (UTC)
commit 08bcc643d9ae05accb24438136400ac119706644
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 cf9601489..5e1475abe 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]