felipealmeida pushed a commit to branch master.

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

commit e0390009bc28e755e9fbb4f4f8a2a1ccecbaa641
Author: Felipe Magno de Almeida <fel...@expertisesolutions.com.br>
Date:   Thu Oct 13 17:51:52 2016 +0900

    Fix use of undeclared type in C++ tests compilation
    
    Moved Evas_Object_Intercept_Cb_Type; typedef declaration after enum
    _Evas_Object_Intercept_Cb_Type definition
---
 src/lib/evas/Evas_Legacy.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/evas/Evas_Legacy.h b/src/lib/evas/Evas_Legacy.h
index 7c67cfc..7b96028 100644
--- a/src/lib/evas/Evas_Legacy.h
+++ b/src/lib/evas/Evas_Legacy.h
@@ -2501,8 +2501,6 @@ EAPI void 
*evas_object_intercept_focus_set_callback_del(Evas_Object *obj, Evas_O
 /* Internal APIs for legacy compatibility */
 #ifdef EFL_CANVAS_OBJECT_PROTECTED
 
-typedef enum _Evas_Object_Intercept_Cb_Type Evas_Object_Intercept_Cb_Type;
-
 enum _Evas_Object_Intercept_Cb_Type
 {
    EVAS_OBJECT_INTERCEPT_CB_VISIBLE,
@@ -2518,6 +2516,7 @@ enum _Evas_Object_Intercept_Cb_Type
    EVAS_OBJECT_INTERCEPT_CB_CLIP_SET,
    EVAS_OBJECT_INTERCEPT_CB_CLIP_UNSET,
 };
+typedef enum _Evas_Object_Intercept_Cb_Type Evas_Object_Intercept_Cb_Type;
 
 EWAPI Eina_Bool _evas_object_intercept_call(Evas_Object *obj, 
Evas_Object_Intercept_Cb_Type type, Eina_Bool internal, ...);
 

-- 


Reply via email to