[gnome-music/wip/mschraal/gtk4-v2: 46/55] artistalbumswidget: Use set_child for add
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-v2: 46/55] artistalbumswidget: Use set_child for add
- Date: Sat, 22 May 2021 21:02:08 +0000 (UTC)
commit 7647ca84b7bc9501cfd0587dcf90807a126f8def
Author: Marinus Schraal <mschraal gnome org>
Date: Mon Apr 12 17:18:56 2021 +0200
artistalbumswidget: Use set_child for 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 701ff9991..498cc8594 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.set_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]