aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_layer.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-11-12 02:22:39 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-11-12 02:22:39 +0000
commit0bbec07e6960fb568fdb60b10b0e1eab4cf63d00 (patch)
treeb9d8cdf380d7f2c5dd16c913d17673aaecf549df /src/lib/evas/canvas/evas_layer.c
parentsmall typo in the evas requirements (diff)
downloadefl-0bbec07e6960fb568fdb60b10b0e1eab4cf63d00.tar.gz
protect against a whole bunch of NULLS that the new eo stuff brings out.
SVN revision: 79129
Diffstat (limited to 'src/lib/evas/canvas/evas_layer.c')
-rw-r--r--src/lib/evas/canvas/evas_layer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_layer.c b/src/lib/evas/canvas/evas_layer.c
index fa86aa9334..ef13547572 100644
--- a/src/lib/evas/canvas/evas_layer.c
+++ b/src/lib/evas/canvas/evas_layer.c
@@ -8,6 +8,8 @@ evas_object_inject(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *
{
Evas_Layer *lay;
+ if (!obj) return;
+ if (!e) return;
if (obj->in_layer) return;
lay = evas_layer_find(e, obj->cur.layer);
if (!lay)