forked from enlightenment/efl
No need to alloc Edje_List_Foreach_Data
SVN revision: 27583
This commit is contained in:
parent
2d150b0eef
commit
43dd5f8882
|
@ -264,16 +264,11 @@ edje_color_class_del(const char *color_class)
|
||||||
Evas_List *
|
Evas_List *
|
||||||
edje_color_class_list(void)
|
edje_color_class_list(void)
|
||||||
{
|
{
|
||||||
Edje_List_Foreach_Data *fdata;
|
Edje_List_Foreach_Data fdata;
|
||||||
Evas_List *list;
|
|
||||||
|
|
||||||
fdata = calloc(1, sizeof(Edje_List_Foreach_Data));
|
evas_hash_foreach(_edje_color_class_member_hash, _edje_color_class_list_foreach, &fdata);
|
||||||
evas_hash_foreach(_edje_color_class_member_hash, _edje_color_class_list_foreach, fdata);
|
|
||||||
|
|
||||||
list = fdata->list;
|
return fdata.list;
|
||||||
free(fdata);
|
|
||||||
|
|
||||||
return list;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Bool
|
static Evas_Bool
|
||||||
|
|
Loading…
Reference in New Issue