summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/canvas/evas_callbacks.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c
index 8896dea691..10f4597ad6 100644
--- a/src/lib/evas/canvas/evas_callbacks.c
+++ b/src/lib/evas/canvas/evas_callbacks.c
@@ -732,6 +732,10 @@ _check_event_catcher_del(void *data, const Efl_Event *event)
732 Evas_Object_Protected_Data *obj = data; 732 Evas_Object_Protected_Data *obj = data;
733 int i; 733 int i;
734 734
735 if (!obj->layer ||
736 !obj->layer->evas)
737 return ;
738
735 for (i = 0; array[i].desc != NULL; i++) 739 for (i = 0; array[i].desc != NULL; i++)
736 { 740 {
737 if (obj->layer->evas->gesture_manager) 741 if (obj->layer->evas->gesture_manager)