forked from enlightenment/efl
evas/evas_object_smart - revert 65482 but more bracket added
SVN revision: 65485
This commit is contained in:
parent
4df374b0f4
commit
33b8560d38
|
@ -146,7 +146,8 @@ evas_object_smart_member_add(Evas_Object *obj, Evas_Object *smart_obj)
|
||||||
abort();
|
abort();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (obj->layer->evas != smart_obj->layer->evas)
|
if ((obj->layer && smart_obj->layer) &&
|
||||||
|
(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);
|
CRIT("Adding object %p from Evas (%p) from another Evas (%p)", obj, obj->layer->evas, smart_obj->layer->evas);
|
||||||
abort();
|
abort();
|
||||||
|
|
Loading…
Reference in New Issue