From da364f2aadd3e1fa79c4f3ee6b6fbcb69c018957 Mon Sep 17 00:00:00 2001 From: Kamil Lipiszko Date: Wed, 21 Dec 2016 12:51:43 +0100 Subject: [PATCH] [ticker] Show ticker even if icon is not set TSAM-11979 fix Change-Id: I1b2f98157206fb1b93ce15e5dd267fdaaca475bd --- src/ticker.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ticker.c b/src/ticker.c index 600fe1f..bd35b7c 100644 --- a/src/ticker.c +++ b/src/ticker.c @@ -411,11 +411,11 @@ static Evas_Object *_ticker_icon_create(ticker_info_s *ticker_info) int ret = notification_get_image(noti, NOTIFICATION_IMAGE_TYPE_ICON, &icon_path); if (ret != NOTIFICATION_ERROR_NONE || !icon_path) { - _E("notification_get_image failed: %s", get_error_message(ret)); - return NULL; + _W("notification_get_image failed: %s", get_error_message(ret)); + } else { + icon = _animated_icon_get(layout, icon_path); } - icon = _animated_icon_get(layout, icon_path); if (!icon) { icon = elm_image_add(layout); if (!icon_path -- 2.7.4