layout: Fix eo API error while running "Genlist 7" in elementary_test.

In case of naviframe, resize_obj is not edje.

Steps to reproduce:
1. elementary_test
2. Open "Genlist 7" sample.
3. Switch focus between windows ("elementary_test" <---> "Genlist 7").

Eo Errors:
ERR<8720>:eo lib/eo/eo.c:678 _eo_call_resolve() in lib/edje/edje_object.eo.c:430: func 'edje_obj_message_signal_process' (733) could not be resolved for class 'Elm_Layout'.

@fix
Resolves: T2534
This commit is contained in:
Amitesh Singh 2015-07-01 09:38:32 +05:30
parent 449b9be714
commit 6e0f4e6134
1 changed files with 2 additions and 1 deletions

View File

@ -421,7 +421,8 @@ _elm_layout_elm_widget_on_focus(Eo *obj, Elm_Layout_Smart_Data *_pd EINA_UNUSED)
if (_elm_config->atspi_mode && !elm_widget_child_can_focus_get(obj))
elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_FOCUSED, EINA_FALSE);
}
edje_object_message_signal_process(wd->resize_obj);
if (eo_isa(wd->resize_obj, EDJE_OBJECT_CLASS))
edje_object_message_signal_process(wd->resize_obj);
return EINA_TRUE;
}