summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorse.osadchy <se.osadchy@samsung.com>2017-03-21 11:13:15 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-03-21 11:13:15 -0700
commita63ce8c2e2be61ba3acf1d9b71c963f313ad5cf6 (patch)
treecbf7c651d62ca63cfbf95bb97339edc8f85e43dc
parentb313b30cf7922217529fb66e665170c1b43fef1c (diff)
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
-rw-r--r--src/lib/elementary/elm_map.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_map.c b/src/lib/elementary/elm_map.c
index 0a93398291..ebcc32f3c5 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,
5082 Evas_Object *icon) 5082 Evas_Object *icon)
5083{ 5083{
5084 EINA_SAFETY_ON_NULL_RETURN(overlay); 5084 EINA_SAFETY_ON_NULL_RETURN(overlay);
5085 EINA_SAFETY_ON_NULL_RETURN(icon);
5086 EINA_SAFETY_ON_NULL_RETURN(overlay->wsd); 5085 EINA_SAFETY_ON_NULL_RETURN(overlay->wsd);
5087 ELM_MAP_CHECK((overlay->wsd)->obj); 5086 ELM_MAP_CHECK((overlay->wsd)->obj);
5088 5087