From 8e712ac5fff54c1342fb905bf11debe23a800fd8 Mon Sep 17 00:00:00 2001 From: Lukasz Stanislawski Date: Mon, 9 Apr 2018 11:53:26 +0200 Subject: [PATCH] view: Handle return value Fixes CID 106049 Change-Id: Id97ad6e48e84099dccfa2f077d26ad881c90f74a --- src/view.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/view.c b/src/view.c index f35f519..bd516d4 100755 --- a/src/view.c +++ b/src/view.c @@ -552,7 +552,8 @@ static void _down_for_hide(void *data, Evas_Object *obj, const char* emission, c { _D("Down for HIDE"); - volume_control_hide_view(); + if (VOLUME_ERROR_OK != volume_control_hide_view()) + _E("Failed to close volume"); } volume_error_e volume_view_layout_create(Evas_Object *win) -- 2.7.4