Florian Müllner 6e629c0f10 st/icon: Only get resource-scale after peeking theme node
If an actor is not on any stage view, then it doesn't have a valid
resource scale, which will hit an assert later.

When that is the case (for example when running headless), we expect
that there is no valid theme node (yet) either, so simply moving
the clutter_actor_get_resource_scale() call after peeking at the
theme node is enough to avoid the crash.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4522

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1935>
2021-08-05 10:03:51 +00:00
..
2021-07-15 12:42:17 +00:00
2020-05-21 14:36:59 +02:00
2015-10-15 22:02:35 +02:00
2015-10-15 22:02:35 +02:00
2015-10-15 22:02:35 +02:00
2020-10-19 20:18:11 +02:00
2015-10-15 22:02:35 +02:00
2015-10-15 22:02:35 +02:00
2015-10-15 22:02:35 +02:00
2015-10-15 22:02:35 +02:00
2020-10-19 20:18:11 +02:00
2019-03-04 22:29:33 +00:00
2012-08-29 16:41:09 -03:00
2020-01-20 16:15:22 -03:00
2017-07-20 00:20:54 +02:00
2021-07-15 12:42:17 +00:00