check if someone was silly enough to try clip themselves

SVN revision: 29476
This commit is contained in:
Carsten Haitzler 2007-04-12 11:17:40 +00:00
parent ea5f208a00
commit aa639a5bfc
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ evas_object_clip_set(Evas_Object *obj, Evas_Object *clip)
return;
MAGIC_CHECK_END();
if (obj->cur.clipper == clip) return;
if (obj == clip) return;
if (obj->smart.smart)
{
if (obj->smart.smart->smart_class->clip_set)