cedric pushed a commit to branch elementary-1.8.

http://git.enlightenment.org/core/elementary.git/commit/?id=196533a1114248904f1c0a1c8585c37e60a96522

commit 196533a1114248904f1c0a1c8585c37e60a96522
Author: Tae-Hwan Kim <the81....@samsung.com>
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 <ced...@osg.samsung.com>
---
 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 beaf23f..d2b18f7 100644
--- a/src/lib/elm_map.c
+++ b/src/lib/elm_map.c
@@ -4051,6 +4051,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