summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_event_grabber.c
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2018-05-08 17:37:30 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-24 16:02:19 -0700
commitc2e8b492b18bdecc2300ad051ba1406e40ad068f (patch)
tree346fb69fb02abb4ac333e8d4fac7f0c4f2f8bdf1 /src/lib/evas/canvas/efl_canvas_event_grabber.c
parentf44511d0f92a8d6cd7ec5cc5f7f97bd6b3656372 (diff)
evas: enforce legacy parent to be the canvas.
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_event_grabber.c')
-rw-r--r--src/lib/evas/canvas/efl_canvas_event_grabber.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_event_grabber.c b/src/lib/evas/canvas/efl_canvas_event_grabber.c
index 536e1ee916..deb1c28bcc 100644
--- a/src/lib/evas/canvas/efl_canvas_event_grabber.c
+++ b/src/lib/evas/canvas/efl_canvas_event_grabber.c
@@ -404,7 +404,7 @@ EAPI Evas_Object *
404evas_object_event_grabber_add(Evas *eo_e) 404evas_object_event_grabber_add(Evas *eo_e)
405{ 405{
406 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(eo_e, EVAS_CANVAS_CLASS), NULL); 406 EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(eo_e, EVAS_CANVAS_CLASS), NULL);
407 return efl_add(MY_CLASS, eo_e, efl_canvas_object_legacy_ctor(efl_added)); 407 return efl_add(MY_CLASS, evas_find(eo_e), efl_canvas_object_legacy_ctor(efl_added));
408} 408}
409 409
410#include "efl_canvas_event_grabber.eo.c" 410#include "efl_canvas_event_grabber.eo.c"