jayji pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7ada74abcdab74ee8d87f4405dea596ccdc86e73

commit 7ada74abcdab74ee8d87f4405dea596ccdc86e73
Author: Jean Guyomarc'h <j...@guyomarch.bzh>
Date:   Tue Jun 7 21:08:08 2016 +0200

    ecore_cocoa: move the default cursor definition out of the enum
    
    This makes the code more explicit and less awkward.
---
 src/lib/ecore_cocoa/Ecore_Cocoa.h | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/lib/ecore_cocoa/Ecore_Cocoa.h 
b/src/lib/ecore_cocoa/Ecore_Cocoa.h
index aae6645..a94785c 100644
--- a/src/lib/ecore_cocoa/Ecore_Cocoa.h
+++ b/src/lib/ecore_cocoa/Ecore_Cocoa.h
@@ -109,11 +109,16 @@ typedef enum
    ECORE_COCOA_CURSOR_RESIZE_UP_DOWN, /**< Resize up down cursor */
    ECORE_COCOA_CURSOR_IBEAM_VERTICAL, /**< IBeam vertical cursor */
 
-   __ECORE_COCOA_CURSOR_LAST, /**< Sentinel. DO NOT USE */
+   __ECORE_COCOA_CURSOR_LAST /**< Sentinel. DO NOT USE */
+} Ecore_Cocoa_Cursor;
 
-   ECORE_COCOA_CURSOR_DEFAULT = ECORE_COCOA_CURSOR_ARROW /**< Default Cocoa 
cursor */
 
-} Ecore_Cocoa_Cursor;
+/**
+ * @def ECORE_COCOA_CURSOR_DEFAULT
+ * Defines the default Cocoa cursor, to be used when nothing
+ * is specified or as a fallback.
+ */
+#define ECORE_COCOA_CURSOR_DEFAULT ECORE_COCOA_CURSOR_ARROW
 
 
 /** Event triggered when a Cocoa window receives focus */

-- 


Reply via email to