elm_map: Fix compilation warning/error

ELM_WIDGET_DATA_GET_OR_RETURN can take a VA_ARGS if the function
should return something.
This commit is contained in:
Jean-Philippe Andre 2014-05-12 15:44:18 +09:00
parent 4d38043fd3
commit d94daa2a63
1 changed files with 1 additions and 1 deletions

View File

@ -3806,7 +3806,7 @@ _elm_map_pan_class_constructor(Eo_Class *klass)
EOLIAN static Eina_Bool
_elm_map_elm_widget_theme_apply(Eo *obj, Elm_Map_Data *sd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
Eina_Bool int_ret = EINA_FALSE;
eo_do_super(obj, MY_CLASS, int_ret = elm_obj_widget_theme_apply());
if (!int_ret) return EINA_FALSE;