Diffusion GpgOL 4c573f3c8984
Authored by aheinecke on Aug 29 2018, 11:28 AM.

Description

Cache icons

* src/ribbon-callbacks.cpp (getIcon): Use dispcache.
(getIconDisp): New.

While this may not be much it felt excessive to initialize
GDIPlus and convert the icon from PNG to bitmap for each
getIcon call even though the icons never change over
the lifetime of GpgOL

Details