[gnome-music/wip/mschraal/gtk4: 34/66] albumsview: get_allocated_size -> get_allocation



commit 66df0142003be4291b279a0e4e7983338c549b23
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 a9389c54..e23b631b 100644
--- a/gnomemusic/views/albumsview.py
+++ b/gnomemusic/views/albumsview.py
@@ -112,11 +112,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]