Evan Welsh 7116d91852 animation: Don't get size information until spinner has a parent
get_size() in _syncAnimationSize() can't be called until the actor
has a parent, otherwise we'll get an error for calling
st_get_theme_node() prior to the actor being on a stage.

_syncAnimationSize() is called asynchronously via
textureCache.load_sliced_image() and there is currently no guarantee
the actor will actually be "loaded" prior to calling it.

This becomes a more obvious error/issue when refactoring parts of the
Shell loading to also be asynchronous.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2563>
2023-06-07 18:59:43 +00:00
..
2022-12-16 22:12:59 +01:00
2023-03-03 20:38:03 +00:00
2022-03-04 14:14:37 +00:00
2022-12-16 22:12:59 +01:00
2023-05-19 20:33:55 +02:00
2023-05-26 19:05:22 +00:00
2021-09-01 14:55:47 +00:00
2022-03-04 14:14:37 +00:00
2023-05-15 16:05:31 +00:00
2023-04-21 01:08:23 +02:00
2022-03-04 14:14:37 +00:00
2022-03-04 14:14:37 +00:00