X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ug-wifidirect%2Fsrc%2Fwfd_ug_genlist.c;h=bff197ce8b930de7457318c351006bd1cdf28124;hb=ab5704181518a0b7580c473ea2b73cea35473ab1;hp=64474cedf53d6be62ab8ec97439287a93d37e99e;hpb=aebaf1afb091dc41d7f5d886f516445f940ac7aa;p=apps%2Fnative%2Fug-wifi-direct.git diff --git a/ug-wifidirect/src/wfd_ug_genlist.c b/ug-wifidirect/src/wfd_ug_genlist.c index 64474ce..bff197c 100755 --- a/ug-wifidirect/src/wfd_ug_genlist.c +++ b/ug-wifidirect/src/wfd_ug_genlist.c @@ -450,15 +450,11 @@ static Evas_Object *_gl_peer_icon_get(void *data, Evas_Object *obj, const char * break; } - if (img_path != NULL) { - icon = elm_icon_add(obj); - elm_icon_file_set(icon, img_path, NULL); - evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1); - elm_icon_resizable_set(icon, 1, 1); - evas_object_show(icon); - } else { - return NULL; - } + icon = elm_icon_add(obj); + elm_icon_file_set(icon, img_path, NULL); + evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1); + elm_icon_resizable_set(icon, 1, 1); + evas_object_show(icon); } __WDUG_LOG_FUNC_EXIT__;