seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=bc605e439b738776ea3eb4e07273c19d807b47d3

commit bc605e439b738776ea3eb4e07273c19d807b47d3
Author: Youngbok Shin <youngb.s...@samsung.com>
Date:   Fri Jan 30 11:04:24 2015 +0900

    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
---
 src/lib/elm_win.eo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_win.eo b/src/lib/elm_win.eo
index 75ca045..71a5641 100644
--- a/src/lib/elm_win.eo
+++ b/src/lib/elm_win.eo
@@ -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 {

-- 


Reply via email to