summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/canvas
diff options
context:
space:
mode:
authormoom <moom>2006-09-09 12:25:26 +0000
committermoom <moom@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2006-09-09 12:25:26 +0000
commita719bd4d58a2ae83cab5a2fe81106c7c32d81deb (patch)
tree0afa9ce37b4d7f2c0565d0a0fc3134711665490d /legacy/evas/src/lib/canvas
parente96c6828d03567c6291d8d3e34d898a4a7b26b8e (diff)
* 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
Diffstat (limited to 'legacy/evas/src/lib/canvas')
-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;