summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-02-16 15:53:09 +0100
committerdavemds <dave@gurumeditation.it>2014-02-16 18:27:10 +0100
commitdae8975c9906c7cebff048e8816eb3f1dfdd2998 (patch)
treed2eb0123ce911c39781ac30de87810b6700b761b /src
parent88c53dd2bc8280eb99feebad7a68b860e85113bd (diff)
Emotion test: Removed volume key bind. EINA_UNUSED--
Volume is now managed per-window, no more need for a global volume key.
Diffstat (limited to 'src')
-rw-r--r--src/tests/emotion/emotion_test_main.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/tests/emotion/emotion_test_main.c b/src/tests/emotion/emotion_test_main.c
index 5b105fe912..f3e21cadf1 100644
--- a/src/tests/emotion/emotion_test_main.c
+++ b/src/tests/emotion/emotion_test_main.c
@@ -211,16 +211,6 @@ bg_key_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_U
211 broadcast_event(EMOTION_EVENT_9); 211 broadcast_event(EMOTION_EVENT_9);
212 else if (!strcmp(ev->keyname, "-")) 212 else if (!strcmp(ev->keyname, "-"))
213 broadcast_event(EMOTION_EVENT_10); 213 broadcast_event(EMOTION_EVENT_10);
214 else if (!strcmp(ev->keyname, "bracketleft"))
215 {
216 EINA_LIST_FOREACH(video_objs, l, o)
217 emotion_object_audio_volume_set(o, emotion_object_audio_volume_get(o) - 0.1);
218 }
219 else if (!strcmp(ev->keyname, "bracketright"))
220 {
221 EINA_LIST_FOREACH(video_objs, l, o)
222 emotion_object_audio_volume_set(o, emotion_object_audio_volume_get(o) + 0.1);
223 }
224 else if (!strcmp(ev->keyname, "v")) 214 else if (!strcmp(ev->keyname, "v"))
225 { 215 {
226 EINA_LIST_FOREACH(video_objs, l, o) 216 EINA_LIST_FOREACH(video_objs, l, o)
@@ -489,7 +479,7 @@ video_obj_signal_stop_cb(void *data, Evas_Object *o, const char *emission EINA_U
489} 479}
490 480
491static void 481static void
492video_obj_signal_jump_cb(void *data, Evas_Object *o, const char *emission EINA_UNUSED, const char *source EINA_UNUSED) 482video_obj_signal_jump_cb(void *data, Evas_Object *o, const char *emission EINA_UNUSED, const char *source)
493{ 483{
494 Evas_Object *ov = data; 484 Evas_Object *ov = data;
495 double len; 485 double len;
@@ -501,7 +491,7 @@ video_obj_signal_jump_cb(void *data, Evas_Object *o, const char *emission EINA_U
501} 491}
502 492
503static void 493static void
504video_obj_signal_alpha_cb(void *data, Evas_Object *o, const char *emission EINA_UNUSED, const char *source EINA_UNUSED) 494video_obj_signal_alpha_cb(void *data, Evas_Object *o, const char *emission EINA_UNUSED, const char *source)
505{ 495{
506 Evas_Object *ov = data; 496 Evas_Object *ov = data;
507 double alpha; 497 double alpha;
@@ -516,7 +506,7 @@ video_obj_signal_alpha_cb(void *data, Evas_Object *o, const char *emission EINA_
516} 506}
517 507
518static void 508static void
519video_obj_signal_vol_cb(void *data, Evas_Object *o, const char *emission EINA_UNUSED, const char *source EINA_UNUSED) 509video_obj_signal_vol_cb(void *data, Evas_Object *o, const char *emission EINA_UNUSED, const char *source)
520{ 510{
521 Evas_Object *ov = data; 511 Evas_Object *ov = data;
522 double vol; 512 double vol;