From 6a7583e919979d32909e95a91a4dd288d04ec7e6 Mon Sep 17 00:00:00 2001 From: "kiso.chang" Date: Wed, 6 Jan 2016 17:06:57 +0900 Subject: [PATCH] Fix thhe issue in Support Menu - Fix the Problem that Setting App is unexpectedly closed in Support Menu Change-Id: Icd9ea96e2a35bf428ce6f677e03ecf508c67e8ea Signed-off-by: kiso.chang --- src/layout/layout_support.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/layout/layout_support.c b/src/layout/layout_support.c index 123d9d1..6418b48 100644 --- a/src/layout/layout_support.c +++ b/src/layout/layout_support.c @@ -64,6 +64,7 @@ static struct menumgr_info menu_info[] = { .title = "Motion control", .style = STYLE_NORMAL_BTN, .disabled = EINA_TRUE, + .status = NULL, .selected = _selected, }, { @@ -71,6 +72,7 @@ static struct menumgr_info menu_info[] = { .title = "User Mode", .style = STYLE_NORMAL_BTN, .disabled = EINA_TRUE, + .status = NULL, .selected = _selected, }, { @@ -85,6 +87,7 @@ static struct menumgr_info menu_info[] = { .title = "Smart control", .style = STYLE_NORMAL_BTN, .disabled = EINA_TRUE, + .status = NULL, .selected = _selected, }, { @@ -92,6 +95,7 @@ static struct menumgr_info menu_info[] = { .title = "Contact", .style = STYLE_NORMAL_BTN, .disabled = EINA_TRUE, + .status = NULL, .selected = _selected, }, }; @@ -99,8 +103,8 @@ static struct menumgr_info menu_info[] = { static char *_get_sw_version(void *data, int id) { char str[1024]; - char *version; - char *platform; + char *version=NULL; + char *platform=NULL; system_info_get_value_string(SYSTEM_INFO_KEY_TIZEN_VERSION, &version); system_info_get_value_string(SYSTEM_INFO_KEY_PLATFORM_NAME, &platform); -- 2.7.4