[gnome-music/wip/mschraal/gtk4: 38/63] 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: 38/63] albumsview: get_allocated_size -> get_allocation
- Date: Wed, 6 Nov 2019 13:23:13 +0000 (UTC)
commit 605473f3b05dce9ea0c2f6e0da0e78d0fe5c1bc0
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 09f271af..8ea91232 100644
--- a/gnomemusic/views/albumsview.py
+++ b/gnomemusic/views/albumsview.py
@@ -109,8 +109,8 @@ class AlbumsView(Gtk.Stack):
return GLib.SOURCE_CONTINUE
first_cover = self._flowbox.get_child_at_index(0)
- cover_size, _ = first_cover.get_allocated_size()
- viewport_size, _ = self._viewport.get_allocated_size()
+ cover_size = first_cover.get_allocation()
+ 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]