{
Edje_Real_Part *rp = NULL;
- if (cep && !strcmp(ep->part->name, cep->part->name))
- {
- return EINA_TRUE;
- }
+ if (cep == ep) return EINA_TRUE;
+ if (!cep) cep = ep;
- if ((ep->calculating & FLAG_X))
+ if ((cep->calculating & FLAG_X))
{
- if (ep->param1.description)
+ if (cep->param1.description)
{
- if (ep->param1.description->rel1.id_x >= 0)
+ if (cep->param1.description->rel1.id_x >= 0)
{
- if (!cep) cep = ep;
rp = ed->table_parts[cep->param1.description->rel1.id_x];
if (_circular_dependency_find(ed, ep, rp, clist))
{
return EINA_TRUE;
}
}
- if (ep->param1.description->rel2.id_x >= 0)
+ if (cep->param1.description->rel2.id_x >= 0)
{
- if (!cep) cep = ep;
rp = ed->table_parts[cep->param1.description->rel2.id_x];
if (_circular_dependency_find(ed, ep, rp, clist))
{
}
}
- if (ep->param2)
+ if (cep->param2)
{
- if (ep->param2->description->rel1.id_x >= 0)
+ if (cep->param2->description->rel1.id_x >= 0)
{
- if (!cep) cep = ep;
rp = ed->table_parts[cep->param2->description->rel1.id_x];
if (_circular_dependency_find(ed, ep, rp, clist))
{
return EINA_TRUE;
}
}
- if (ep->param2->description->rel2.id_x >= 0)
+ if (cep->param2->description->rel2.id_x >= 0)
{
- if (!cep) cep = ep;
rp = ed->table_parts[cep->param2->description->rel2.id_x];
if (_circular_dependency_find(ed, ep, rp, clist))
{
}
}
}
- if ((ep->calculating & FLAG_Y))
+ if ((cep->calculating & FLAG_Y))
{
- if (ep->param1.description)
+ if (cep->param1.description)
{
- if (ep->param1.description->rel1.id_y >= 0)
+ if (cep->param1.description->rel1.id_y >= 0)
{
- if (!cep) cep = ep;
rp = ed->table_parts[cep->param1.description->rel1.id_y];
if (_circular_dependency_find(ed, ep, rp, clist))
{
return EINA_TRUE;
}
}
- if (ep->param1.description->rel2.id_y >= 0)
+ if (cep->param1.description->rel2.id_y >= 0)
{
- if (!cep) cep = ep;
rp = ed->table_parts[cep->param1.description->rel2.id_y];
if (_circular_dependency_find(ed, ep, rp, clist))
{
}
}
}
- if (ep->param2)
+ if (cep->param2)
{
- if (ep->param2->description->rel1.id_y >= 0)
+ if (cep->param2->description->rel1.id_y >= 0)
{
- if (!cep) cep = ep;
rp = ed->table_parts[cep->param2->description->rel1.id_y];
if (_circular_dependency_find(ed, ep, rp, clist))
{
return EINA_TRUE;
}
}
- if (ep->param2->description->rel2.id_y >= 0)
+ if (cep->param2->description->rel2.id_y >= 0)
{
- if (!cep) cep = ep;
rp = ed->table_parts[cep->param2->description->rel2.id_y];
if (_circular_dependency_find(ed, ep, rp, clist))
{