summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_callbacks.c')
-rw-r--r--src/lib/evas/canvas/evas_callbacks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c
index 35cc834..822baa2 100644
--- a/src/lib/evas/canvas/evas_callbacks.c
+++ b/src/lib/evas/canvas/evas_callbacks.c
@@ -436,13 +436,13 @@ evas_object_event_callback_call(Evas_Object *eo_obj, Evas_Object_Protected_Data
436nothing_here: 436nothing_here:
437 if (!obj->no_propagate) 437 if (!obj->no_propagate)
438 { 438 {
439 if ((obj->smart.parent || obj->events->event.parent) && (type != EVAS_CALLBACK_FREE) && 439 if ((obj->smart.parent || obj->event.parent) && (type != EVAS_CALLBACK_FREE) &&
440 (type <= EVAS_CALLBACK_KEY_UP)) 440 (type <= EVAS_CALLBACK_KEY_UP))
441 { 441 {
442 Evas_Object_Protected_Data *parent_obj; 442 Evas_Object_Protected_Data *parent_obj;
443 Eo *parent; 443 Eo *parent;
444 444
445 parent = obj->events->event.parent ?: obj->smart.parent; 445 parent = obj->event.parent ?: obj->smart.parent;
446 parent_obj = efl_data_scope_get(parent, EFL_CANVAS_OBJECT_CLASS); 446 parent_obj = efl_data_scope_get(parent, EFL_CANVAS_OBJECT_CLASS);
447 evas_object_event_callback_call(parent, parent_obj, type, event_info, event_id, efl_event_desc); 447 evas_object_event_callback_call(parent, parent_obj, type, event_info, event_id, efl_event_desc);
448 } 448 }