Commit 2157214
committed
clutter-actor.c: Guess a resource scale of 1 when there are no views.
The toplevel branch of get_real_resource_scale() leaves max_scale at its
-1 sentinel when the stage has no views yet, which then trips g_assert
(guessed_scale >= 0.5). Only reachable headlessly or nested.1 parent 263d10f commit 2157214
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17717 | 17717 | | |
17718 | 17718 | | |
17719 | 17719 | | |
| 17720 | + | |
| 17721 | + | |
| 17722 | + | |
| 17723 | + | |
| 17724 | + | |
17720 | 17725 | | |
17721 | 17726 | | |
17722 | 17727 | | |
| |||
0 commit comments