aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_clip.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2007-04-12 11:17:40 +0000
committerCarsten Haitzler <raster@rasterman.com>2007-04-12 11:17:40 +0000
commitaa639a5bfc06145a7b94720bc1b53e8b5e5f1bb0 (patch)
treee542be72822c93ddd63ce1944b7647b2ea5662d6 /legacy/evas/src/lib/canvas/evas_clip.c
parentFix segv. Create struct before adding it to the hash. (diff)
downloadefl-aa639a5bfc06145a7b94720bc1b53e8b5e5f1bb0.tar.gz
check if someone was silly enough to try clip themselves
SVN revision: 29476
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_clip.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_clip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_clip.c b/legacy/evas/src/lib/canvas/evas_clip.c
index f0476d3e79..2d2d149333 100644
--- a/legacy/evas/src/lib/canvas/evas_clip.c
+++ b/legacy/evas/src/lib/canvas/evas_clip.c
@@ -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)