cedric pushed a commit to branch elementary-1.11.

http://git.enlightenment.org/core/elementary.git/commit/?id=85b7be29e714cfffaf52efdea140891b8d6b5d16

commit 85b7be29e714cfffaf52efdea140891b8d6b5d16
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 a704e4a..a2f127b 100644
--- a/src/lib/elm_map.c
+++ b/src/lib/elm_map.c
@@ -4098,6 +4098,9 @@ _elm_map_evas_object_smart_add(Eo *obj, Elm_Map_Data 
*priv)
 
    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