summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <juyung.seo@samsung.com>2013-10-10 16:53:51 +0900
committerDaniel Juyung Seo <juyung.seo@samsung.com>2013-10-10 16:53:51 +0900
commitbbdb6839bc39f842ba4eba115d8985389b7b5d7b (patch)
tree9a0b1999d7c65d0e061badbc13880a8aaa8b3145
parent9404a18aa54f5f282f17f2a90dabe0a95371de84 (diff)
main: cleaned up some codes.HEADmaster
-rw-r--r--src/main.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 1500427..892a072 100644
--- a/src/main.c
+++ b/src/main.c
@@ -47,6 +47,9 @@ _time_set(void* data)
47 evas_object_smart_callback_add(btn2, "clicked", _on_retry_cancel, popup); 47 evas_object_smart_callback_add(btn2, "clicked", _on_retry_cancel, popup);
48 48
49 evas_object_show(popup); 49 evas_object_show(popup);
50
51 game_timer = NULL;
52
50 return ECORE_CALLBACK_CANCEL; 53 return ECORE_CALLBACK_CANCEL;
51 } 54 }
52 55
@@ -70,9 +73,8 @@ _on_start(void *layout, Evas_Object *obj, void *ev)
70static void 73static void
71_on_style_selected(void *data, Evas_Object *obj, void *ev) 74_on_style_selected(void *data, Evas_Object *obj, void *ev)
72{ 75{
73 Elm_Object_Item *item = elm_flipselector_selected_item_get(obj); 76 Elm_Object_Item *item = ev;
74 char *name = elm_object_item_text_get(item); 77 cell_style_set((char *)elm_object_item_text_get(item));
75 cell_style_set(name);
76} 78}
77 79
78static void 80static void