cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1528b8c6aa019b2a421d597122494f496ffab898

commit 1528b8c6aa019b2a421d597122494f496ffab898
Author: Jean Guyomarc'h <jean.guyoma...@gmail.com>
Date:   Wed Jan 6 00:00:56 2016 +0100

    ecore_cocoa: use Eina_Bool instead of int
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/ecore_cocoa/Ecore_Cocoa.h        | 4 ++--
 src/lib/ecore_cocoa/ecore_cocoa_window.m | 8 ++++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/lib/ecore_cocoa/Ecore_Cocoa.h 
b/src/lib/ecore_cocoa/Ecore_Cocoa.h
index bee1392..5e3ab87 100644
--- a/src/lib/ecore_cocoa/Ecore_Cocoa.h
+++ b/src/lib/ecore_cocoa/Ecore_Cocoa.h
@@ -246,10 +246,10 @@ EAPI void ecore_cocoa_window_title_set(Ecore_Cocoa_Window 
*window,
                                        const char         *title);
 
 EAPI void ecore_cocoa_window_iconified_set(Ecore_Cocoa_Window *window,
-                                           int                 on);
+                                           Eina_Bool           on);
 
 EAPI void ecore_cocoa_window_borderless_set(Ecore_Cocoa_Window *window,
-                                            int                 on);
+                                            Eina_Bool           on);
 
 EAPI void ecore_cocoa_window_view_set(Ecore_Cocoa_Window *window,
                                       void *view);
diff --git a/src/lib/ecore_cocoa/ecore_cocoa_window.m 
b/src/lib/ecore_cocoa/ecore_cocoa_window.m
index ae985e4..38c167c 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa_window.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa_window.m
@@ -537,7 +537,7 @@ ecore_cocoa_window_activate(Ecore_Cocoa_Window *window)
 
 EAPI void
 ecore_cocoa_window_iconified_set(Ecore_Cocoa_Window *window,
-                                 int                 on)
+                                 Eina_Bool           on)
 {
    EINA_SAFETY_ON_NULL_RETURN(window);
 
@@ -553,13 +553,17 @@ ecore_cocoa_window_iconified_set(Ecore_Cocoa_Window 
*window,
 
 EAPI void
 ecore_cocoa_window_borderless_set(Ecore_Cocoa_Window *window,
-                                  int                 on)
+                                  Eina_Bool           on)
 {
    EINA_SAFETY_ON_NULL_RETURN(window);
 
    if (on)
      [window->window setContentBorderThickness:0.0
                                        forEdge:NSMinXEdge | NSMinYEdge | 
NSMaxXEdge | NSMaxYEdge];
+   else
+     {
+        // TODO
+     }
 }
 
 EAPI void

-- 


Reply via email to