* evas_object_smart: Oops, the right test.

SVN revision: 39529
This commit is contained in:
Cedric BAIL 2009-03-17 17:56:06 +00:00
parent bdc54a6afd
commit a01af7856b
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ evas_object_smart_member_add(Evas_Object *obj, Evas_Object *smart_obj)
return;
}
if (obj->layer && smart_obj->layer
&& obj->layer->evas == smart_obj->layer->evas)
&& obj->layer->evas != smart_obj->layer->evas)
{
printf("EVAS ERROR: Adding object %p from Evas (%p) from another Evas (%p)\n", obj, obj->layer->evas, smart_obj->layer->evas);
abort();