cedric pushed a commit to branch elementary-1.9.

http://git.enlightenment.org/core/elementary.git/commit/?id=053baa6f3056d59305416443947fb2a5935be39e

commit 053baa6f3056d59305416443947fb2a5935be39e
Author: Tae-Hwan Kim <[email protected]>
Date:   Wed Sep 3 17:04:37 2014 +0200

    elm_map: the widget use efreet cache home to save image files to, so efreet 
should be initialized.
    
    Summary: @fix
    
    Reviewers: raster
    
    Differential Revision: https://phab.enlightenment.org/D1371
    
    Signed-off-by: Cedric BAIL <[email protected]>
---
 src/lib/elm_map.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c
index 5168c2f..3f4a754 100644
--- a/src/lib/elm_map.c
+++ b/src/lib/elm_map.c
@@ -4037,6 +4037,9 @@ _elm_map_smart_add(Eo *obj, void *_pd, va_list *list 
EINA_UNUSED)
 
    priv->mode = ELM_MAP_ZOOM_MODE_MANUAL;
 
+   if (!elm_need_efreet())
+     ERR("Efreet initialization failed!");
+
    if (!ecore_file_download_protocol_available("http://";))
      ERR("Ecore must be built with curl support for the map widget!");
 }

-- 


Reply via email to