[gnome-music/wip/mschraal/gtk4-v2: 41/65] albumsview: Add AlbumsView as child




commit df85063d8655063f4f8e68f82305a9d1f52803ce
Author: Marinus Schraal <mschraal gnome org>
Date:   Sun Apr 11 23:44:48 2021 +0200

    albumsview: Add AlbumsView as child

 gnomemusic/views/albumsview.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/views/albumsview.py b/gnomemusic/views/albumsview.py
index 0b2f0ab8a..d086350d4 100644
--- a/gnomemusic/views/albumsview.py
+++ b/gnomemusic/views/albumsview.py
@@ -85,7 +85,7 @@ class AlbumsView(Gtk.Stack):
             "selection-mode", self, "selection-mode",
             GObject.BindingFlags.BIDIRECTIONAL)
 
-        self.add(self._album_widget)
+        self.add_child(self._album_widget)
 
         self.connect(
             "notify::search-mode-active", self._on_search_mode_changed)


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