cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a63ce8c2e2be61ba3acf1d9b71c963f313ad5cf6
commit a63ce8c2e2be61ba3acf1d9b71c963f313ad5cf6 Author: se.osadchy <se.osad...@samsung.com> Date: Tue Mar 21 11:13:15 2017 -0700 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 --- src/lib/elementary/elm_map.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/elementary/elm_map.c b/src/lib/elementary/elm_map.c index 0a93398..ebcc32f 100644 --- a/src/lib/elementary/elm_map.c +++ b/src/lib/elementary/elm_map.c @@ -5082,7 +5082,6 @@ elm_map_overlay_icon_set(Elm_Map_Overlay *overlay, Evas_Object *icon) { EINA_SAFETY_ON_NULL_RETURN(overlay); - EINA_SAFETY_ON_NULL_RETURN(icon); EINA_SAFETY_ON_NULL_RETURN(overlay->wsd); ELM_MAP_CHECK((overlay->wsd)->obj); --