Fix bug when shutting down all engine and still have some font in the cache.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 31 Oct 2008 10:46:46 +0000 (10:46 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 31 Oct 2008 10:46:46 +0000 (10:46 +0000)
commitddd26290bb7a72e217965ccd893c1fc417f426a0
tree9f8ab893f7ea4bc7d101eaf53dce47a0556d139b
parent34d95a01e8e6dd000a6fd10b75e39c5161a9010f
Fix bug when shutting down all engine and still have some font in the cache.

Draw back: When we are destroying an Evas canvas, we loose all cached font
that are not used anymore.

A correct fix would be to link Fndat to the Evas that provide and use them.
And only delete them when no more Evas reference them.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37353 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/canvas/evas_font_dir.c
src/lib/canvas/evas_main.c
src/lib/include/evas_private.h
src/modules/engines/software_16_sdl/evas_engine.c
src/modules/engines/software_sdl/evas_engine.c