Partial fix to evas_hash_foreach() const change.

This fixes the prototype, however it still issues a warning about a
real bug: calling evas_hash_modify() during evas_hash_foreach()


SVN revision: 33710
This commit is contained in:
Gustavo Sverzut Barbieri 2008-02-08 20:42:10 +00:00
parent 903a4d6e4d
commit 2f346db9a9
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ _xre_font_surface_new(Ximage_Info *xinf, RGBA_Font_Glyph *fg)
}
static Evas_Bool
_xre_font_pool_cb(Evas_Hash *hash, const char *key, void *data, void *fdata)
_xre_font_pool_cb(const Evas_Hash *hash, const char *key, void *data, void *fdata)
{
Evas_Hash *pool;
XR_Font_Surface *fs;

View File

@ -129,7 +129,7 @@ _xre_font_surface_new(Xcb_Image_Info *xcbinf, RGBA_Font_Glyph *fg)
}
static Evas_Bool
_xre_font_pool_cb(Evas_Hash *hash, const char *key, void *data, void *fdata)
_xre_font_pool_cb(const Evas_Hash *hash, const char *key, void *data, void *fdata)
{
char buf[256];
Evas_Hash *pool;