elm_map: Fix compilation warning/error
authorJean-Philippe Andre <jp.andre@samsung.com>
Mon, 12 May 2014 06:44:18 +0000 (15:44 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 12 May 2014 06:44:18 +0000 (15:44 +0900)
ELM_WIDGET_DATA_GET_OR_RETURN can take a VA_ARGS if the function
should return something.

src/lib/elm_map.c

index abdc95e..5b32b55 100644 (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;