summaryrefslogtreecommitdiff
path: root/src/examples/emotion/emotion_generic_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/emotion/emotion_generic_example.c')
-rw-r--r--src/examples/emotion/emotion_generic_example.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/examples/emotion/emotion_generic_example.c b/src/examples/emotion/emotion_generic_example.c
index 6ea7dd9..cdbfe6e 100644
--- a/src/examples/emotion/emotion_generic_example.c
+++ b/src/examples/emotion/emotion_generic_example.c
@@ -45,10 +45,10 @@ _create_emotion_object(Evas *e)
45 45
46 emotion_object_init(em, "generic"); 46 emotion_object_init(em, "generic");
47 47
48 eo_do(em, eo_event_callback_add 48 eo_event_callback_add
49 (EMOTION_OBJECT_EVENT_PLAYBACK_STARTED, _playback_started_cb, NULL)); 49 (em, EMOTION_OBJECT_EVENT_PLAYBACK_STARTED, _playback_started_cb, NULL);
50 eo_do(em, eo_event_callback_add 50 eo_event_callback_add
51 (EMOTION_OBJECT_EVENT_PLAYBACK_FINISHED, _playback_stopped_cb, NULL)); 51 (em, EMOTION_OBJECT_EVENT_PLAYBACK_FINISHED, _playback_stopped_cb, NULL);
52 52
53 return em; 53 return em;
54} 54}
@@ -227,7 +227,7 @@ main(int argc, const char *argv[])
227 evas_object_resize(em, WIDTH, HEIGHT); 227 evas_object_resize(em, WIDTH, HEIGHT);
228 evas_object_show(em); 228 evas_object_show(em);
229 229
230 eo_do(em, eo_event_callback_array_add(emotion_object_example_callbacks, NULL)); 230 eo_event_callback_array_add(em, emotion_object_example_callbacks, NULL);
231 231
232 evas_object_event_callback_add(bg, EVAS_CALLBACK_KEY_DOWN, _on_key_down, em); 232 evas_object_event_callback_add(bg, EVAS_CALLBACK_KEY_DOWN, _on_key_down, em);
233 evas_object_focus_set(bg, EINA_TRUE); 233 evas_object_focus_set(bg, EINA_TRUE);