summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-31 16:28:42 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-01 10:09:37 +0900
commit9633023511c2da377e36bf984b6bff40f9de21d7 (patch)
tree1bc3be02ae42d5f0292cbdb299d51e42acb714e1
parent4e81df7cb2ee558cf5a9137835e46dbaa0dce35d (diff)
downloadefl-9633023511c2da377e36bf984b6bff40f9de21d7.tar.gz
focus: Fix shadow warning
-rw-r--r--src/lib/elementary/efl_ui_focus_manager_calc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c
index effd445e6c..7c5d25cd0b 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -1234,7 +1234,7 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_focus_set(Eo *obj, Efl_Ui_Focus_
if (node->type == NODE_TYPE_NORMAL)
{
- Eo *focusable;
+ Eo *node_focusable;
//check if this is already the focused object
old_focus = eina_list_last_data_get(pd->focus_stack);
@@ -1246,12 +1246,12 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_focus_set(Eo *obj, Efl_Ui_Focus_
pd->focus_stack = eina_list_append(pd->focus_stack, node);
//save fields we later need
- focusable = node->focusable;
+ node_focusable = node->focusable;
//populate the new change
if (old_focus) efl_ui_focus_object_focus_set(old_focus->focusable, EINA_FALSE);
efl_ui_focus_object_focus_set(node->focusable, EINA_TRUE);
- efl_event_callback_call(obj, EFL_UI_FOCUS_MANAGER_EVENT_FOCUSED, focusable);
+ efl_event_callback_call(obj, EFL_UI_FOCUS_MANAGER_EVENT_FOCUSED, node_focusable);
node = NULL;
}