EAPI Eo_Op ELW_BUTTON_BASE_ID = 0;
-EAPI const Eo_Event_Description _SIG_CLICKED =
- EO_EVENT_DESCRIPTION("clicked", "", "Called when there was a click.");
+EAPI const Eo_Event_Description _EV_CLICKED =
+ EO_EVENT_DESCRIPTION("clicked", "Called when there was a click.");
typedef struct
{
(void) evas_obj;
(void) event_info;
Eo *obj = data;
- eo_event_callback_call(obj, SIG_CLICKED, NULL);
+ eo_do(obj, eo_event_callback_call(EV_CLICKED, NULL, NULL));
}
static void
}
static const Eo_Op_Description op_desc[] = {
- EO_OP_DESCRIPTION(ELW_BUTTON_SUB_ID_TEXT_SET, "s", "Text of a text supporting evas object."), // FIXME: This ID sholudn't really be defined here...
+ EO_OP_DESCRIPTION(ELW_BUTTON_SUB_ID_TEXT_SET, "Text of a text supporting evas object."), // FIXME: This ID sholudn't really be defined here...
EO_OP_DESCRIPTION_SENTINEL
};
static const Eo_Event_Description *event_desc[] = {
- SIG_CLICKED,
+ EV_CLICKED,
NULL
};