evas/evas_object_smart - don't need compare each layer

SVN revision: 65482
This commit is contained in:
ChunEon Park 2011-11-21 10:16:25 +00:00
parent 6662d6ae6e
commit 4df374b0f4
1 changed files with 1 additions and 2 deletions

View File

@ -146,8 +146,7 @@ evas_object_smart_member_add(Evas_Object *obj, Evas_Object *smart_obj)
abort();
return;
}
if (obj->layer && smart_obj->layer
&& obj->layer->evas != smart_obj->layer->evas)
if (obj->layer->evas != smart_obj->layer->evas)
{
CRIT("Adding object %p from Evas (%p) from another Evas (%p)", obj, obj->layer->evas, smart_obj->layer->evas);
abort();