summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-10-16 08:27:10 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-10-16 08:27:10 +0900
commita47d14e2461db194377dd8bb81a0393868825575 (patch)
tree37f8a88f74a7d106e4a71a73f091ff81d93ee964 /src
parent0bca7af2e8b0022dbd9de632888990be1b21ea69 (diff)
evas - add another layer->evas check in addition to layer
fixes T7215
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/evas_key_grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_key_grab.c b/src/lib/evas/canvas/evas_key_grab.c
index e26ca06..7dfafeb 100644
--- a/src/lib/evas/canvas/evas_key_grab.c
+++ b/src/lib/evas/canvas/evas_key_grab.c
@@ -68,7 +68,7 @@ evas_key_grab_find(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj, const c
68void 68void
69evas_object_grabs_cleanup(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) 69evas_object_grabs_cleanup(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj)
70{ 70{
71 if (!obj->layer) return; 71 if ((!obj->layer) || (!obj->layer->evas)) return;
72 if (obj->layer->evas->walking_grabs) 72 if (obj->layer->evas->walking_grabs)
73 { 73 {
74 Eina_List *l; 74 Eina_List *l;