summaryrefslogtreecommitdiff
path: root/src/examples/emotion/emotion_border_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/emotion/emotion_border_example.c')
-rw-r--r--src/examples/emotion/emotion_border_example.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/examples/emotion/emotion_border_example.c b/src/examples/emotion/emotion_border_example.c
index 22eca25..ea3c07d 100644
--- a/src/examples/emotion/emotion_border_example.c
+++ b/src/examples/emotion/emotion_border_example.c
@@ -33,8 +33,7 @@ _create_emotion_object(Evas *e)
33 33
34 emotion_object_init(em, "gstreamer1"); 34 emotion_object_init(em, "gstreamer1");
35 35
36 eo_do(em, eo_event_callback_add( 36 eo_event_callback_add(em, EMOTION_OBJECT_EVENT_PLAYBACK_STARTED, _playback_started_cb, NULL);
37 EMOTION_OBJECT_EVENT_PLAYBACK_STARTED, _playback_started_cb, NULL));
38 37
39 return em; 38 return em;
40} 39}
@@ -241,7 +240,7 @@ main(int argc, const char *argv[])
241 240
242 ecore_evas_data_set(ee, "emotion", em); 241 ecore_evas_data_set(ee, "emotion", em);
243 242
244 eo_do(em, eo_event_callback_array_add(emotion_object_example_callbacks, NULL)); 243 eo_event_callback_array_add(em, emotion_object_example_callbacks, NULL);
245 244
246 evas_object_event_callback_add(bg, EVAS_CALLBACK_KEY_DOWN, _on_key_down, em); 245 evas_object_event_callback_add(bg, EVAS_CALLBACK_KEY_DOWN, _on_key_down, em);
247 evas_object_focus_set(bg, EINA_TRUE); 246 evas_object_focus_set(bg, EINA_TRUE);