IconTheme: Move changed emission to an idle
IconTheme: Move changed emission to an idle

By delaying the emission to an idle we avoid a lot of tricky
reentrancy issues. For instance, a normal gtk_icon_theme_choose_icon()
call could in very rare cases (when a user updated an icon theme) emit
a signal which could affect the icon currently being looked up.  This
kind of reentrancy is very hard to test against, especially when it is
so rare, so we're better of avoiding it.

There is no real value to get the change signal directly anyway. All
it can do is affect which icon is rendered the next frame, and we will
handle the queued emission before rendering. Not to mention that icon
theme change detection is polled anyway, so it is already delayed.

https://bugzilla.gnome.org/show_bug.cgi?id=694755

davidgumberg/gtk,jadahl/gtk,Adamovskiy/gtk,chergert/gtk,grubersjoe/adwaita,ebassi/gtk,jadahl/gtk,jadahl/gtk,grubersjoe/adwaita,Adamovskiy/gtk,chergert/gtk,ebassi/gtk,alexlarsson/gtk,grubersjoe/adwaita,jessevdk/gtk,chergert/gtk,ahodesuka/gtk,grubersjoe/adwaita,grubersjoe/adwaita,jigpu/gtk,ebassi/gtk,chergert/gtk,davidgumberg/gtk,Adamovskiy/gtk,alexlarsson/gtk,ebassi/gtk,chergert/gtk,jessevdk/gtk,bratsche/gtk-,ahodesuka/gtk,bratsche/gtk-,alexlarsson/gtk,jadahl/gtk,Lyude/gtk-,Adamovskiy/gtk,ahodesuka/gtk,jessevdk/gtk,alexlarsson/gtk,ebassi/gtk,Lyude/gtk-,bratsche/gtk-,davidgumberg/gtk,bratsche/gtk-,davidgumberg/gtk,alexlarsson/gtk,jadahl/gtk,Adamovskiy/gtk,chergert/gtk,jadahl/gtk,msteinert/gtk,jessevdk/gtk,jigpu/gtk,msteinert/gtk,msteinert/gtk,bratsche/gtk-,Lyude/gtk-,alexlarsson/gtk,davidgumberg/gtk,grubersjoe/adwaita,jigpu/gtk,ahodesuka/gtk,alexlarsson/gtk,ahodesuka/gtk,Lyude/gtk-,jigpu/gtk,Adamovskiy/gtk,msteinert/gtk,jadahl/gtk,jadahl/gtk,jessevdk/gtk,davidgumberg/gtk,jigpu/gtk,ebassi/gtk,Sidnioulz/SandboxGtk,bratsche/gtk-,grubersjoe/adwaita,jigpu/gtk,Lyude/gtk-,Sidnioulz/SandboxGtk,ahodesuka/gtk,msteinert/gtk,msteinert/gtk,davidgumberg/gtk,davidgumberg/gtk,grubersjoe/adwaita,jessevdk/gtk,ahodesuka/gtk,ahodesuka/gtk,Adamovskiy/gtk,jigpu/gtk,Sidnioulz/SandboxGtk,Lyude/gtk-,jigpu/gtk,chergert/gtk,Adamovskiy/gtk,Sidnioulz/SandboxGtk,Lyude/gtk-,alexlarsson/gtk,Sidnioulz/SandboxGtk,jessevdk/gtk,Sidnioulz/SandboxGtk,Lyude/gtk-,chergert/gtk