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




commit 3ac133f0a2cf26c7dec74b7ccfc7ea61c23666b4
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]