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 <cedric@osg.samsung.com>
This commit is contained in:
Tae-Hwan Kim 2014-09-03 17:04:37 +02:00 committed by Cedric BAIL
parent c9b74dfb0b
commit e2a14d22ae
1 changed files with 3 additions and 0 deletions

View File

@ -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!");
}