icon-theme: Preload default icon themes in thread
authorAlexander Larsson <alexl@redhat.com>
Wed, 29 Jan 2020 10:38:05 +0000 (11:38 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 30 Jan 2020 09:53:43 +0000 (10:53 +0100)
commit6a8001fe7d2818d50fbf133b27c823726c28d97d
tree5a5b1ce86b42ce2719a76ee2f84db1262b1220b3
parentff3e0221821e303fd5f409653ef212598a3c98c6
icon-theme: Preload default icon themes in thread

This happens when we first get the theme for a display, or then the
icon theme setting changes.

This means we don't have to do this scan in the first snapshot
and can do the i/o it in parallel with other stuff. This moves
a 10msec block from the first snapshot cycle to early setup.
gtk/gtkicontheme.c