efl_ui_win: fix return value in error case at aux_hint functions 61/197461/1
authorJunseok, Kim <juns.kim@samsung.com>
Fri, 11 Jan 2019 09:04:04 +0000 (18:04 +0900)
committerJunseok, Kim <juns.kim@samsung.com>
Fri, 11 Jan 2019 09:04:04 +0000 (18:04 +0900)
Change-Id: Iee104d390b6fdb755d2cbd3cdd7618eaf5bbf26b

src/lib/elementary/efl_ui_win.c

index af4e96b..7195527 100644 (file)
@@ -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);
 }