*
* @see evas_object_textblock_style_set
*/
-#define evas_obj_textblock_style_set(ts) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_SET), EO_TYPECHECK(Evas_Textblock_Style *, ts)
+#define evas_obj_textblock_style_set(ts) EVAS_OBJ_TEXTBLOCK_ID(EVAS_OBJ_TEXTBLOCK_SUB_ID_STYLE_SET), EO_TYPECHECK(const Evas_Textblock_Style *, ts)
/**
* @def evas_obj_textblock_style_get
* @param ts the style to set.
* @return Returns no value.
*/
-EAPI void evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts) EINA_ARG_NONNULL(1);
+EAPI void evas_object_textblock_style_set(Evas_Object *obj, const Evas_Textblock_Style *ts) EINA_ARG_NONNULL(1);
/**
* Return the style of an object.
}
EAPI void
-evas_object_textblock_style_set(Evas_Object *eo_obj, Evas_Textblock_Style *ts)
+evas_object_textblock_style_set(Evas_Object *eo_obj, const Evas_Textblock_Style *ts)
{
eo_do(eo_obj, evas_obj_textblock_style_set(ts));
}
_textblock_style_set(Eo *eo_obj, void *_pd, va_list *list)
{
Evas_Object_Textblock *o = _pd;
- Evas_Textblock_Style *ts = va_arg(*list, Evas_Textblock_Style *);
- _textblock_style_generic_set(eo_obj, ts, &(o->style));
+ const Evas_Textblock_Style *ts = va_arg(*list, const Evas_Textblock_Style *);
+ _textblock_style_generic_set(eo_obj, (Evas_Textblock_Style *) ts, &(o->style));
}
EAPI const Evas_Textblock_Style *