forked from enlightenment/efl
win: Add default return value at elm_win_type_get API according to API description.
Summary: The API must return ELM_WIN_UNKNOWN (-1) when the given object is improper. Test Plan: None. Reviewers: woohyun, JackDanielZ, seoz Differential Revision: https://phab.enlightenment.org/D1907
This commit is contained in:
parent
6ed274e003
commit
82f1aebd01
|
@ -1139,7 +1139,7 @@ class Elm_Win (Elm_Widget, Elm_Interface_Atspi_Window,
|
|||
@return The type of a window object. If the object is not window object, return #ELM_WIN_UNKNOWN.
|
||||
|
||||
@ingroup Win */
|
||||
return: Elm_Win_Type;
|
||||
return: Elm_Win_Type(-1);
|
||||
}
|
||||
}
|
||||
noblank {
|
||||
|
|
Loading…
Reference in New Issue