aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-03-20 13:15:21 -0400
committerCedric Bail <cedric@osg.samsung.com>2018-03-20 17:20:57 -0700
commitcd8952cc6cfb09a0bdf0a78f74d431a47fdf820c (patch)
tree75e8e1a0490fc4edd47b775c0c07580e682e99b9
parentedje: remove device callbacks on canvas del (diff)
downloadefl-cd8952cc6cfb09a0bdf0a78f74d431a47fdf820c.tar.gz
efl_ui_win: match return value to function type in elm_win_window_id_get
ref 08c9f99134102db1a54ce0761b8e175ffed2d4bd Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
-rw-r--r--src/lib/elementary/efl_ui_win.c2
1 files changed, 1 insertions, 1 deletions
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);
}