From b35304315606bf33b24b975127a2c6da07e30476 Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Wed, 19 Oct 2016 18:52:52 +0900 Subject: [PATCH] [TSAM-8835] Wearable: Remove the undefined color code Change-Id: I34f03b4e1a9dfcc291b92e11a55a9b11051b8d64 Signed-off-by: Seonah Moon --- packaging/wifi-efl-ug.spec | 2 +- sources/wearable/src/wearable-circle/app_main.c | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/packaging/wifi-efl-ug.spec b/packaging/wifi-efl-ug.spec index fd7b748..2b91175 100644 --- a/packaging/wifi-efl-ug.spec +++ b/packaging/wifi-efl-ug.spec @@ -1,7 +1,7 @@ %define _unpackaged_files_terminate_build 0 Name: wifi-efl-ug Summary: Wi-Fi UI Gadget for TIZEN -Version: 1.0.204 +Version: 1.0.205 Release: 1 Group: App/Network License: Flora-1.1 diff --git a/sources/wearable/src/wearable-circle/app_main.c b/sources/wearable/src/wearable-circle/app_main.c index 9c4e4d9..1904d25 100755 --- a/sources/wearable/src/wearable-circle/app_main.c +++ b/sources/wearable/src/wearable-circle/app_main.c @@ -2480,15 +2480,12 @@ static int _convert_colorcode_to_hex(const gchar *code) static gchar *_make_static_ip_menu_text(const gchar *text, const gchar *default_text) { - if (text != NULL) { - return g_strdup_printf("%s", - _convert_colorcode_to_hex("T022"), text); - } else if (default_text != NULL) { - return g_strdup_printf("%s", - _convert_colorcode_to_hex("T022D"), default_text); - } else { + if (text != NULL) + return g_strdup(text); + else if (default_text != NULL) + return g_strdup(default_text); + else return NULL; - } } static char *__static_ip_menu_ip_address_text_get_cb(void *data, Evas_Object *obj, const char *part) -- 2.7.4