Eo: get rid of Eo_Event2.
authorTom Hacohen <tom@stosb.com>
Mon, 7 Mar 2016 10:23:48 +0000 (10:23 +0000)
committerTom Hacohen <tom@stosb.com>
Mon, 7 Mar 2016 10:25:10 +0000 (10:25 +0000)
The hack is still there, but much cleaner now.

src/lib/eo/Eo.h

index 936c8c8..51b253f 100644 (file)
@@ -154,7 +154,7 @@ enum _Eo_Op_Type
 typedef enum _Eo_Op_Type Eo_Op_Type;
 
 /** XXX: Hack until fixed in Eolian */
-typedef struct _Eo_Event Eo_Event2;
+typedef struct _Eo_Event Eo_Event;
 /**
  * @typedef Eo_Event_Cb
  *
@@ -166,7 +166,7 @@ typedef struct _Eo_Event Eo_Event2;
  * @param event_info additional data passed with the event.
  * @return #EO_CALLBACK_STOP to stop calling additional callbacks for the event, #EO_CALLBACK_CONTINUE to continue.
  */
-typedef Eina_Bool (*Eo_Event_Cb)(void *data, const Eo_Event2 *event);
+typedef Eina_Bool (*Eo_Event_Cb)(void *data, const Eo_Event *event);
 
 #include "eo_base.eo.h"
 #define EO_CLASS EO_BASE_CLASS