elm_map: Fix work of elm_map_overlay_icon_set if icon is NULL. 30/131430/2
authorse.osadchy <se.osadchy@samsung.com>
Tue, 21 Mar 2017 18:13:15 +0000 (11:13 -0700)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Wed, 31 May 2017 01:10:10 +0000 (01:10 +0000)
commit66ea53146b3a5e3315bc39c9e37c33999a4eb553
treef4e2adc66c9f73796d046c9d279a95f6398b3aaf
parentea1be94a8a87a6370d7a9f1b75f9b162d923b658
elm_map: Fix work of elm_map_overlay_icon_set if icon is NULL.

Summary:
Delete check on NULL for icon object due to incorrect work. Function must delete
icon in map overlay (according to documentation) if we set NULL, but with this check -
nothing happening and after elm_map_overlay_icon_get we have not NULL returned value.
@fix

Reviewers: cedric, Hermet, raster, jpeg

Reviewed By: cedric

Subscribers: artem.popov

Differential Revision: https://phab.enlightenment.org/D4720

Change-Id: I0079d88374e9eda920b6eef143744cdc902fe773
src/lib/elm_map.c