Fix thhe issue in Support Menu 08/56308/1
authorkiso.chang <kiso.chang@samsung.com>
Wed, 6 Jan 2016 08:06:57 +0000 (17:06 +0900)
committerkiso.chang <kiso.chang@samsung.com>
Wed, 6 Jan 2016 08:09:30 +0000 (17:09 +0900)
 - Fix the Problem that Setting App is unexpectedly closed in Support Menu

Change-Id: Icd9ea96e2a35bf428ce6f677e03ecf508c67e8ea
Signed-off-by: kiso.chang <kiso.chang@samsung.com>
src/layout/layout_support.c

index 123d9d1..6418b48 100644 (file)
@@ -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);