summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-07-01 09:38:32 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2015-07-01 09:47:06 +0530
commit08a7054aabd16b0a172282b074ca4318eff41e50 (patch)
tree60fdc2016aae219c84a959ec0d5a993887a35000
parentc2747644e041da309da634cb9883e98bb4a2112e (diff)
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
-rw-r--r--src/lib/elm_layout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c
index e85efd605..f089510a3 100644
--- a/src/lib/elm_layout.c
+++ b/src/lib/elm_layout.c
@@ -421,7 +421,8 @@ _elm_layout_elm_widget_on_focus(Eo *obj, Elm_Layout_Smart_Data *_pd EINA_UNUSED)
421 if (_elm_config->atspi_mode && !elm_widget_child_can_focus_get(obj)) 421 if (_elm_config->atspi_mode && !elm_widget_child_can_focus_get(obj))
422 elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_FOCUSED, EINA_FALSE); 422 elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_FOCUSED, EINA_FALSE);
423 } 423 }
424 edje_object_message_signal_process(wd->resize_obj); 424 if (eo_isa(wd->resize_obj, EDJE_OBJECT_CLASS))
425 edje_object_message_signal_process(wd->resize_obj);
425 426
426 return EINA_TRUE; 427 return EINA_TRUE;
427} 428}