Fix edje edje_color_class_list() and edje_text_class_list() to look at the

correct hashes when returning.
This commit is contained in:
Carsten Haitzler 2013-02-18 15:41:43 +09:00
parent 15e85877af
commit 28218fe856
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2013-02-18 Carsten Haitzler (The Rasterman)
* Fix edje edje_color_class_list() and edje_text_class_list() to
look at the correct hashes when returning.
2013-02-17 Mike Blumenkrantz
* fix anchor clicked mouse signals for selection-enabled entries

1
NEWS
View File

@ -172,3 +172,4 @@ Fixes:
* Fix bug candidate word couldn't be selected with up/down key in the preedit status
* Edje textblock: Improved textblock fit.
* fix anchor clicked mouse signals for selection-enabled entries
* Fix edje_color_class_list() and edje_text_class_list() to look at right hashes.

View File

@ -701,10 +701,9 @@ edje_color_class_list(void)
{
Edje_List_Foreach_Data fdata;
if (!_edje_color_class_member_hash) return NULL;
if (!_edje_color_class_hash) return NULL;
memset(&fdata, 0, sizeof(Edje_List_Foreach_Data));
eina_hash_foreach(_edje_color_class_member_hash,
eina_hash_foreach(_edje_color_class_hash,
_edje_color_class_list_foreach, &fdata);
return fdata.list;
@ -1029,8 +1028,9 @@ edje_text_class_list(void)
{
Edje_List_Foreach_Data fdata;
if (!_edje_text_class_hash) return NULL;
memset(&fdata, 0, sizeof(Edje_List_Foreach_Data));
eina_hash_foreach(_edje_text_class_member_hash,
eina_hash_foreach(_edje_text_class_hash,
_edje_text_class_list_foreach, &fdata);
return fdata.list;
}