cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=cd8952cc6cfb09a0bdf0a78f74d431a47fdf820c

commit cd8952cc6cfb09a0bdf0a78f74d431a47fdf820c
Author: Cedric BAIL <[email protected]>
Date:   Tue Mar 20 13:15:21 2018 -0400

    efl_ui_win: match return value to function type in elm_win_window_id_get
    
    ref 08c9f99134102db1a54ce0761b8e175ffed2d4bd
    
    Signed-off-by: Mike Blumenkrantz <[email protected]>
---
 src/lib/elementary/efl_ui_win.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 6ca99d14e6..b8879c6dd5 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -8259,7 +8259,7 @@ elm_win_window_id_get(const Evas_Object *obj)
    if (!evas_object_smart_type_check_ptr(obj, MY_CLASS_NAME_LEGACY))
      {
         Ecore_Evas *ee = ecore_evas_ecore_evas_get(evas_object_evas_get(obj));
-        if (!ee) return NULL;
+        if (!ee) return 0;
         return ecore_evas_window_get(ee);
      }
 

-- 


Reply via email to