From 190cce71f5a914eb144c9e6fffab0238b86361ce Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Fri, 11 Aug 2017 10:31:30 +0200 Subject: [PATCH] efl_ui_focus_manager_calc: fix the class check of the redirect this came up with a huge load of errors, i havent noticed them last night. Sorry. --- src/lib/elementary/efl_ui_focus_manager_calc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c index 6ed83c8..b9aed0b 100644 --- a/src/lib/elementary/efl_ui_focus_manager_calc.c +++ b/src/lib/elementary/efl_ui_focus_manager_calc.c @@ -531,7 +531,7 @@ _efl_ui_focus_manager_calc_register_logical(Eo *obj, Efl_Ui_Focus_Manager_Calc_D EINA_SAFETY_ON_NULL_RETURN_VAL(parent, EINA_FALSE); if (redirect) - EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(redirect, MY_CLASS), EINA_FALSE); + EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(redirect, EFL_UI_FOCUS_MANAGER_INTERFACE), EINA_FALSE); F_DBG("Manager: %p register %p %p %p", obj, child, parent, redirect); @@ -567,7 +567,7 @@ _efl_ui_focus_manager_calc_register(Eo *obj, Efl_Ui_Focus_Manager_Calc_Data *pd, EINA_SAFETY_ON_NULL_RETURN_VAL(parent, EINA_FALSE); if (redirect) - EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(redirect, MY_CLASS), EINA_FALSE); + EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(redirect, EFL_UI_FOCUS_MANAGER_INTERFACE), EINA_FALSE); F_DBG("Manager: %p register %p %p %p", obj, child, parent, redirect); -- 2.7.4