summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-10-13 17:51:52 +0900
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-10-13 17:56:11 +0900
commite0390009bc28e755e9fbb4f4f8a2a1ccecbaa641 (patch)
treed68860822d509a5d35ff32d2ae01ab638e027843
parenteb1fd44dbbc96fce0cebd4f4fd1144e7e06e8ff2 (diff)
downloadefl-e0390009bc28e755e9fbb4f4f8a2a1ccecbaa641.tar.gz
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
-rw-r--r--src/lib/evas/Evas_Legacy.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/evas/Evas_Legacy.h b/src/lib/evas/Evas_Legacy.h
index 7c67cfc4f1..7b96028ab5 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, ...);