From 088474bdee4e5aeeade92d233809353e1c854c97 Mon Sep 17 00:00:00 2001 From: "Junseok, Kim" Date: Fri, 11 Jan 2019 18:04:04 +0900 Subject: [PATCH] efl_ui_win: fix return value in error case at aux_hint functions Change-Id: Iee104d390b6fdb755d2cbd3cdd7618eaf5bbf26b --- src/lib/elementary/efl_ui_win.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index af4e96b..7195527 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -10438,14 +10438,14 @@ elm_win_aux_hint_val_set(Evas_Object *obj, const int id, const char *val) EAPI const char * elm_win_aux_hint_val_get(Evas_Object *obj, int id) { - ELM_WIN_DATA_GET_OR_RETURN(obj, sd, EINA_FALSE); + ELM_WIN_DATA_GET_OR_RETURN(obj, sd, NULL); return ecore_evas_aux_hint_val_get(sd->ee, id); } EAPI int elm_win_aux_hint_id_get(Evas_Object *obj, const char *hint) { - ELM_WIN_DATA_GET_OR_RETURN(obj, sd, EINA_FALSE); + ELM_WIN_DATA_GET_OR_RETURN(obj, sd, -1); return ecore_evas_aux_hint_id_get(sd->ee, hint); } -- 2.7.4