test genlist: Fixed warning in genlist item styles.

"_genlist_renew(gl, "default"); " was trying to get the data
" check = evas_object_data_get(obj, "check"); " before
it's set by " evas_object_data_set(gl, "check", check); "

Test Plan: elementary_test < then type genlist item styles >

Reviewers: seoz, singh.amitesh

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D518
This commit is contained in:
Chinmaya Panigrahi 2014-02-06 14:31:15 +09:00 committed by Daniel Juyung Seo
parent 65a0da0b4b
commit b318b09d05
1 changed files with 1 additions and 1 deletions

View File

@ -3490,7 +3490,6 @@ test_genlist_item_styles(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
gl = elm_genlist_add(box);
evas_object_size_hint_weight_set(gl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(gl, EVAS_HINT_FILL, EVAS_HINT_FILL);
_genlist_renew(gl, "default");
elm_box_pack_end(box, gl);
@ -3499,6 +3498,7 @@ test_genlist_item_styles(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
elm_box_pack_end(box, check);
evas_object_data_set(gl, "check", check);
_genlist_renew(gl, "default");
evas_object_data_set(list, "genlist", gl);