thiep pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=5d1cec3e7b73c2228ae762e3c81b937bdc3d966c

commit 5d1cec3e7b73c2228ae762e3c81b937bdc3d966c
Author: Thiep Ha <haminhth...@gmail.com>
Date:   Fri Jul 22 11:46:23 2016 +0900

    correct returned value of focus_get function.
    
    Function eventor_object_focus_get needs to return
    Eina_Bool value.
---
 src/lib/enventor_smart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/enventor_smart.c b/src/lib/enventor_smart.c
index 47427b1..83747e2 100644
--- a/src/lib/enventor_smart.c
+++ b/src/lib/enventor_smart.c
@@ -672,7 +672,7 @@ _enventor_object_focus_set(Eo *obj EINA_UNUSED,
 EOLIAN static Eina_Bool
 _enventor_object_focus_get(Eo *obj EINA_UNUSED, Enventor_Object_Data *pd)
 {
-   if (!pd->focused_it) return;
+   if (!pd->focused_it) return EINA_FALSE;
    return edit_focus_get(pd->focused_it->ed);
 }
 

-- 


Reply via email to