summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/bin
diff options
context:
space:
mode:
authorsebastid <sebastid>2005-09-05 16:30:09 +0000
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-09-05 16:30:09 +0000
commitd80baaa81478b788198fc18f73f3d5fd6c9cc8bf (patch)
tree41720bc25b0ebba033b2c06badc64fbb3465cd29 /legacy/emotion/src/bin
parent42f2fbb8b6cedfbccbfa43ad020799f53927d781 (diff)
Use %f with doubles.
Add string.h for strcmp() Remove unused variables. SVN revision: 16580
Diffstat (limited to 'legacy/emotion/src/bin')
-rw-r--r--legacy/emotion/src/bin/emotion_test_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/emotion/src/bin/emotion_test_main.c b/legacy/emotion/src/bin/emotion_test_main.c
index b6cfb96052..d35ca808ca 100644
--- a/legacy/emotion/src/bin/emotion_test_main.c
+++ b/legacy/emotion/src/bin/emotion_test_main.c
@@ -14,6 +14,7 @@
14 14
15#include <stdlib.h> 15#include <stdlib.h>
16#include <stdio.h> 16#include <stdio.h>
17#include <string.h>
17 18
18typedef struct _Frame_Data Frame_Data; 19typedef struct _Frame_Data Frame_Data;
19 20
@@ -613,7 +614,7 @@ static void
613video_obj_signal_jump_cb(void *data, Evas_Object *o, const char *emission, const char *source) 614video_obj_signal_jump_cb(void *data, Evas_Object *o, const char *emission, const char *source)
614{ 615{
615 Evas_Object *ov; 616 Evas_Object *ov;
616 double pos, len; 617 double len;
617 double x, y; 618 double x, y;
618 619
619 ov = data; 620 ov = data;
@@ -634,7 +635,7 @@ video_obj_signal_speed_cb(void *data, Evas_Object *o, const char *emission, cons
634 edje_object_part_drag_value_get(o, source, &x, &y); 635 edje_object_part_drag_value_get(o, source, &x, &y);
635 spd = 255 * y; 636 spd = 255 * y;
636 evas_object_color_set(ov, 255, 255, 255, spd); 637 evas_object_color_set(ov, 255, 255, 255, spd);
637 snprintf(buf, sizeof(buf), "%i", spd); 638 snprintf(buf, sizeof(buf), "%.0f", spd);
638 edje_object_part_text_set(o, "video_speed_txt", buf); 639 edje_object_part_text_set(o, "video_speed_txt", buf);
639} 640}
640 641
@@ -805,7 +806,6 @@ enter_idle(void *data)
805int 806int
806main(int argc, char **argv) 807main(int argc, char **argv)
807{ 808{
808 char *file;
809 int i; 809 int i;
810 810
811 if (main_start(argc, argv) < 1) return -1; 811 if (main_start(argc, argv) < 1) return -1;