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:
Youngbok Shin 2015-01-30 11:04:24 +09:00 committed by Daniel Juyung Seo
parent 6ed274e003
commit 82f1aebd01
1 changed files with 1 additions and 1 deletions

View File

@ -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 {