[gnome-music/wip/jfelder/gtk4-v3: 36/174] albumsview: Correctly set scrolled window child




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

    albumsview: Correctly set scrolled window 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 507d75bc6..dcfe943b4 100644
--- a/gnomemusic/views/albumsview.py
+++ b/gnomemusic/views/albumsview.py
@@ -93,7 +93,7 @@ class AlbumsView(Gtk.Stack):
             "selection-mode", self, "selection-mode",
             GObject.BindingFlags.BIDIRECTIONAL)
 
-        self._album_scrolled_window.add(self._album_widget)
+        self._album_scrolled_window.set_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]