* evas_object_clip_unset(): set "cur.have_clipees" to 0 *after* having

removed the object from the list of clipees (as it used to work
actually)


SVN revision: 25661
This commit is contained in:
moom 2006-09-09 12:25:26 +00:00 committed by moom
parent e96c6828d0
commit a719bd4d58
1 changed files with 1 additions and 2 deletions

View File

@ -283,10 +283,9 @@ evas_object_clip_unset(Evas_Object *obj)
}
if (obj->cur.clipper)
{
obj->cur.clipper->clip.clipees = evas_list_remove(obj->cur.clipper->clip.clipees, obj);
if (!obj->cur.clipper->clip.clipees)
obj->cur.clipper->cur.have_clipees = 0;
else
obj->cur.clipper->clip.clipees = evas_list_remove(obj->cur.clipper->clip.clipees, obj);
evas_object_change(obj->cur.clipper);
}
obj->cur.clipper = NULL;