[gnome-music/wip/mschraal/gtk4: 44/102] albumsview: get_allocated_size -> get_allocation



commit 873be70f8bdf8bd2e10a81cc219eb1f26d4a1af0
Author: Marinus Schraal <mschraal gnome org>
Date:   Wed Nov 6 14:17:11 2019 +0100

    albumsview: get_allocated_size -> get_allocation

 gnomemusic/views/albumsview.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/views/albumsview.py b/gnomemusic/views/albumsview.py
index 1a1018cc..11aa3caa 100644
--- a/gnomemusic/views/albumsview.py
+++ b/gnomemusic/views/albumsview.py
@@ -114,11 +114,11 @@ class AlbumsView(Gtk.Stack):
         if first_cover is None:
             return GLib.SOURCE_REMOVE
 
-        cover_size, _ = first_cover.get_allocated_size()
+        cover_size = first_cover.get_allocation()
         if cover_size.width == 0 or cover_size.height == 0:
             return GLib.SOURCE_REMOVE
 
-        viewport_size, _ = self._viewport.get_allocated_size()
+        viewport_size = self._viewport.get_allocation()
 
         h_space = self._flowbox.get_column_spacing()
         v_space = self._flowbox.get_row_spacing()


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