elm route: Changed return value of elm_route_emap_set() API from

Eina_Bool to void.

EFL uses void as a xxx_set() API's return value.


SVN revision: 60852
This commit is contained in:
Daniel Juyung Seo 2011-06-30 02:10:46 +00:00
parent 3e80a14632
commit b68467112b
2 changed files with 4 additions and 4 deletions

View File

@ -4899,7 +4899,7 @@ extern "C" {
/* Route */
EAPI Evas_Object *elm_route_add(Evas_Object *parent);
#ifdef ELM_EMAP
EAPI Eina_Bool elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
EAPI void elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
#endif
EAPI double elm_route_lon_min_get(Evas_Object *obj);
EAPI double elm_route_lat_min_get(Evas_Object *obj);

View File

@ -223,17 +223,17 @@ elm_route_add(Evas_Object *parent)
*
* @ingroup Route
*/
EAPI Eina_Bool
EAPI void
elm_route_emap_set(Evas_Object *obj, EMap_Route *emap)
{
EMap_Route_Node *node, *node_prev = NULL;
Evas_Object *o;
Eina_List *l;
ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return EINA_FALSE;
if (!wd) return;
wd->emap = emap;
_clear_route(obj);