summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <juyung.seo@samsung.com>2014-11-01 03:08:34 +0900
committerDaniel Juyung Seo <juyung.seo@samsung.com>2014-11-01 03:08:35 +0900
commit025305092b89b8e1221e6a49f241945b6fbe6266 (patch)
tree7c4285c5e29a983bee94f0dd026c61d11c19f3a6
parent2c8de4bee1fbaf75cf907239a732dfd166e52fab (diff)
main: Initialize deleted popup object pointer.
Even the pointer is not used for NULL check in other places, it is a good practise to initialize because it can be used later.
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 40b188c..fc4ee97 100644
--- a/src/main.c
+++ b/src/main.c
@@ -19,7 +19,10 @@ static void
19retry_button_clicked_cb(void *data, Evas_Object *obj, void *ev) 19retry_button_clicked_cb(void *data, Evas_Object *obj, void *ev)
20{ 20{
21 appdata_s *ad = (appdata_s *)data; 21 appdata_s *ad = (appdata_s *)data;
22
22 evas_object_del(ad->popup); 23 evas_object_del(ad->popup);
24 ad->popup = NULL;
25
23 elm_layout_signal_emit(ad->layout, "game,retry", "tile_matching"); 26 elm_layout_signal_emit(ad->layout, "game,retry", "tile_matching");
24} 27}
25 28