[gnome-music/wip/mschraal/gtk4: 109/141] albumsview: get_allocated_size -> get_allocation
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 109/141] albumsview: get_allocated_size -> get_allocation
- Date: Mon, 17 Feb 2020 19:35:28 +0000 (UTC)
commit 6778d1bd25cff2f2d741536263a1ade4edba8cc8
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 81eb14f3..c66a28be 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]