ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
}
- item = elm_genlist_item_append(genlist, gic, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ item = elm_genlist_item_append(genlist, gic, NULL, NULL, ELM_GENLIST_ITEM_GROUP, NULL, NULL);
if (item == NULL)
{
ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to append an item in the genlist widget..", __FILE__, __LINE__);
}
- item_1st = elm_genlist_item_prepend(genlist, gic, NULL, item, ELM_GENLIST_ITEM_GROUP, NULL, NULL);
+ item_1st = elm_genlist_item_prepend(genlist, gic, NULL, item, ELM_GENLIST_ITEM_NONE, NULL, NULL);
if (item_1st == NULL)
{
elm_object_item_del(item);
ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
}
- item_2nd = elm_genlist_item_prepend(genlist, gic, NULL, item, ELM_GENLIST_ITEM_GROUP, NULL, NULL);
+ item_2nd = elm_genlist_item_prepend(genlist, gic, NULL, item, ELM_GENLIST_ITEM_NONE, NULL, NULL);
if (item_2nd == NULL)
{
elm_object_item_del(item_1st);
}
item_ret = elm_genlist_first_item_get(genlist);
- if ((item_ret == NULL) || (item_ret != item_2nd))
+ if ((item_ret == NULL) || (item_ret != item))
{
elm_object_item_del(item_1st);
elm_object_item_del(item_2nd);