EAPI void
elm_widget_translate(Evas_Object *obj)
{
+ ELM_WIDGET_CHECK(obj);
+ eo_do(obj, elm_wdg_translate(NULL));
+}
+
+static void
+_elm_widget_translate(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
+{
const Eina_List *l;
Evas_Object *child;
#ifdef HAVE_GETTEXT
Elm_Translate_String_Data *ts;
#endif
-
API_ENTRY return;
EINA_LIST_FOREACH(sd->subobjs, l, child)
#endif
}
-static void
-_elm_widget_translate(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *list)
-{
- Eina_Bool *ret = va_arg(*list, Eina_Bool *);
- if (ret) *ret = EINA_FALSE;
-}
-
EAPI void
elm_widget_content_part_set(Evas_Object *obj,
const char *part,