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




commit 045a2a5d8ac234b90e7aed2d81bbf7dd7f67b795
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]