Skip to content
Commit 713619b6 authored by Marco Trevisan's avatar Marco Trevisan
Browse files

iconCache: Rewrite simplifying the usage for GIcon's only

The icon cache has been built with the idea of caching actors, however now
we only cache the actual actor contents which is eventually always a GIcon,
so there's no point to complicate it.

Also use native JS Maps and remove destroy notification support, as icons
have not such capability anymore.

As per this, when returning the GIcon added to the cache we need to make
sure that we're returning the object that is actually in the cache and not
an equal object that may be already there.
parent bd6fff0b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment