[gnome-music/wip/mschraal/gtk4: 106/143] albumsview: get_allocated_size -> get_allocation



commit 889b510aef35f2cc215c014f383a11169ccbcdba
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 fdaea20e..c45af828 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]