summaryrefslogtreecommitdiff
path: root/src/examples/emotion/emotion_signals_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/emotion/emotion_signals_example.c')
-rw-r--r--src/examples/emotion/emotion_signals_example.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/examples/emotion/emotion_signals_example.c b/src/examples/emotion/emotion_signals_example.c
index 3c56c40..b84c47d 100644
--- a/src/examples/emotion/emotion_signals_example.c
+++ b/src/examples/emotion/emotion_signals_example.c
@@ -68,8 +68,7 @@ _position_update_cb(void *data EINA_UNUSED,
68 Eo *o, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED) 68 Eo *o, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
69{ 69{
70 printf(">>> Emotion object first position update.\n"); 70 printf(">>> Emotion object first position update.\n");
71 eo_do(o, eo_event_callback_del(EMOTION_OBJECT_EVENT_POSITION_UPDATE, 71 eo_event_callback_del(o, EMOTION_OBJECT_EVENT_POSITION_UPDATE, _position_update_cb, NULL);
72 _position_update_cb, NULL));
73 _display_info(o); 72 _display_info(o);
74 73
75 return EINA_TRUE; 74 return EINA_TRUE;
@@ -80,8 +79,7 @@ _frame_decode_cb(void *data EINA_UNUSED,
80 Eo *o, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED) 79 Eo *o, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
81{ 80{
82 printf(">>> Emotion object first frame decode.\n"); 81 printf(">>> Emotion object first frame decode.\n");
83 eo_do(o, eo_event_callback_del(EMOTION_OBJECT_EVENT_FRAME_DECODE, 82 eo_event_callback_del(o, EMOTION_OBJECT_EVENT_FRAME_DECODE, _frame_decode_cb, NULL);
84 _frame_decode_cb, NULL));
85 _display_info(o); 83 _display_info(o);
86 84
87 return EINA_TRUE; 85 return EINA_TRUE;
@@ -121,8 +119,8 @@ static const Eo_Callback_Array_Item emotion_object_example_callbacks[] = {
121static void 119static void
122_setup_emotion_callbacks(Evas_Object *o) 120_setup_emotion_callbacks(Evas_Object *o)
123{ 121{
124 eo_do(o, eo_event_callback_add 122 eo_event_callback_add
125 (EMOTION_OBJECT_EVENT_PLAYBACK_STARTED, _playback_started_cb, NULL)); 123 (o, EMOTION_OBJECT_EVENT_PLAYBACK_STARTED, _playback_started_cb, NULL);
126} 124}
127 125
128int 126int