edje: fix edje_object_part_text_item_list_get and edje_object_part_text_item_geometry_get

Summary:
There is copy-paste bug, when _anchors_get works in the same way like
_items_get. edje_object_part_text_item_list_get and
edje_object_part_text_item_geometry_get didn't work.

@fix

Reviewers: seoz, Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1641

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
artem.popov 2014-11-05 00:00:45 +01:00 committed by Cedric BAIL
parent 704c448141
commit a5e3e0d0d4
1 changed files with 2 additions and 2 deletions

View File

@ -2961,7 +2961,7 @@ _edje_entry_item_geometry_get(Edje_Real_Part *rp, const char *item, Evas_Coord *
EINA_LIST_FOREACH(en->anchors, l, an)
{
const char *n = an->name;
if (an->item) continue;
if (!an->item) continue;
if (!n) n = "";
if (!strcmp(item, n))
{
@ -2988,7 +2988,7 @@ _edje_entry_items_list(Edje_Real_Part *rp)
EINA_LIST_FOREACH(en->anchors, l, an)
{
const char *n = an->name;
if (an->item) continue;
if (!an->item) continue;
if (!n) n = "";
items = eina_list_append(items, strdup(n));
}