summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/canvas/evas_clip.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_clip.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_clip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_clip.c b/legacy/evas/src/lib/canvas/evas_clip.c
index 1d23387..58da28c 100644
--- a/legacy/evas/src/lib/canvas/evas_clip.c
+++ b/legacy/evas/src/lib/canvas/evas_clip.c
@@ -283,10 +283,9 @@ evas_object_clip_unset(Evas_Object *obj)
283 } 283 }
284 if (obj->cur.clipper) 284 if (obj->cur.clipper)
285 { 285 {
286 obj->cur.clipper->clip.clipees = evas_list_remove(obj->cur.clipper->clip.clipees, obj);
286 if (!obj->cur.clipper->clip.clipees) 287 if (!obj->cur.clipper->clip.clipees)
287 obj->cur.clipper->cur.have_clipees = 0; 288 obj->cur.clipper->cur.have_clipees = 0;
288 else
289 obj->cur.clipper->clip.clipees = evas_list_remove(obj->cur.clipper->clip.clipees, obj);
290 evas_object_change(obj->cur.clipper); 289 evas_object_change(obj->cur.clipper);
291 } 290 }
292 obj->cur.clipper = NULL; 291 obj->cur.clipper = NULL;