summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/bin
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2008-02-28 20:35:16 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2008-02-28 20:35:16 +0000
commit46f07234a025160fdd79756ffb39f50e0b4b2632 (patch)
tree2838a55a5fcdfac0832951d0a975a9b29f7fabeb /legacy/emotion/src/bin
parenta5d43225dc38dfb61bbdbe77b11082a8a0ca48e8 (diff)
Minor cleanups.
* bitfield must be unsigned; * static to most globals; * call shutdown on exit. SVN revision: 33865
Diffstat (limited to 'legacy/emotion/src/bin')
-rw-r--r--legacy/emotion/src/bin/emotion_test_main.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/legacy/emotion/src/bin/emotion_test_main.c b/legacy/emotion/src/bin/emotion_test_main.c
index 805fd51af5..a706f760bc 100644
--- a/legacy/emotion/src/bin/emotion_test_main.c
+++ b/legacy/emotion/src/bin/emotion_test_main.c
@@ -21,8 +21,8 @@ typedef struct _Frame_Data Frame_Data;
21 21
22struct _Frame_Data 22struct _Frame_Data
23{ 23{
24 char moving : 1; 24 unsigned char moving : 1;
25 char resizing : 1; 25 unsigned char resizing : 1;
26 int button; 26 int button;
27 Evas_Coord x, y; 27 Evas_Coord x, y;
28}; 28};
@@ -33,19 +33,19 @@ static void main_resize(Ecore_Evas *ee);
33static int main_signal_exit(void *data, int ev_type, void *ev); 33static int main_signal_exit(void *data, int ev_type, void *ev);
34static void main_delete_request(Ecore_Evas *ee); 34static void main_delete_request(Ecore_Evas *ee);
35 35
36void bg_setup(void); 36static void bg_setup(void);
37void bg_resize(Evas_Coord w, Evas_Coord h); 37static void bg_resize(Evas_Coord w, Evas_Coord h);
38static void bg_key_down(void *data, Evas * e, Evas_Object * obj, void *event_info); 38static void bg_key_down(void *data, Evas * e, Evas_Object * obj, void *event_info);
39 39
40static Evas_Object *o_bg = NULL; 40static Evas_Object *o_bg = NULL;
41 41
42double start_time = 0.0; 42static double start_time = 0.0;
43Ecore_Evas *ecore_evas = NULL; 43static Ecore_Evas *ecore_evas = NULL;
44Evas *evas = NULL; 44static Evas *evas = NULL;
45int startw = 800; 45static int startw = 800;
46int starth = 600; 46static int starth = 600;
47 47
48Evas_List *video_objs = NULL; 48static Evas_List *video_objs = NULL;
49 49
50static int 50static int
51main_start(int argc, char **argv) 51main_start(int argc, char **argv)
@@ -133,6 +133,8 @@ main_start(int argc, char **argv)
133static void 133static void
134main_stop(void) 134main_stop(void)
135{ 135{
136 main_signal_exit(NULL, 0, NULL);
137 edje_shutdown();
136 ecore_evas_shutdown(); 138 ecore_evas_shutdown();
137 ecore_shutdown(); 139 ecore_shutdown();
138} 140}