diff --git a/src/lib/evas/Evas_Legacy.h b/src/lib/evas/Evas_Legacy.h index deb0a61b04..f10fb07162 100644 --- a/src/lib/evas/Evas_Legacy.h +++ b/src/lib/evas/Evas_Legacy.h @@ -1333,6 +1333,15 @@ EAPI char *evas_textblock_text_markup_to_utf8 */ EAPI char *evas_textblock_text_utf8_to_markup(const Evas_Object *obj, const char *text) EINA_WARN_UNUSED_RESULT EINA_MALLOC; +/** + * Clear the textblock object. + * @note Does *NOT* free the Evas object itself. + * + * @param obj the object to clear. + * @return nothing. + */ +EAPI void evas_object_textblock_clear(Evas_Object *obj) EINA_ARG_NONNULL(1); + #include "canvas/evas_textblock.eo.legacy.h" /** diff --git a/src/lib/evas/canvas/evas_textblock.eo b/src/lib/evas/canvas/evas_textblock.eo index 91c0b54388..96abedfa72 100644 --- a/src/lib/evas/canvas/evas_textblock.eo +++ b/src/lib/evas/canvas/evas_textblock.eo @@ -284,7 +284,7 @@ class Evas_Textblock (Evas_Object) @return nothing. */ - legacy evas_object_textblock_clear_all; + legacy null; } style_user_push { /*@