aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_clip.c
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/evas_clip.c
parentfix xrender xcb engine, add old stuff committed to the Xlib engines and not t... (diff)
downloadefl-a719bd4d58a2ae83cab5a2fe81106c7c32d81deb.tar.gz
* 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/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 1d23387a15..58da28c7c1 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)
}
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;