2014-06-10 00:18:17 -07:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "elementary_config.h"
|
|
|
|
#endif
|
|
|
|
|
2017-09-25 01:15:44 -07:00
|
|
|
#define EFL_ACCESS_TEXT_PROTECTED
|
2014-10-17 08:56:11 -07:00
|
|
|
|
2014-06-10 00:18:17 -07:00
|
|
|
#include <Elementary.h>
|
|
|
|
#include "elm_widget.h"
|
|
|
|
#include "elm_priv.h"
|
|
|
|
|
2014-08-08 02:05:18 -07:00
|
|
|
void
|
2017-09-25 01:15:44 -07:00
|
|
|
EAPI elm_atspi_text_text_attribute_free(Efl_Access_Text_Attribute *attr)
|
2014-06-10 00:18:17 -07:00
|
|
|
{
|
|
|
|
if (!attr) return;
|
|
|
|
if (attr->name) eina_stringshare_del(attr->name);
|
|
|
|
if (attr->value) eina_stringshare_del(attr->value);
|
|
|
|
free(attr);
|
|
|
|
}
|
|
|
|
|
2019-01-21 22:59:50 -08:00
|
|
|
EAPI void
|
|
|
|
elm_atspi_text_text_range_free(Efl_Access_Text_Range *range)
|
|
|
|
{
|
|
|
|
free(range->content);
|
|
|
|
free(range);
|
|
|
|
}
|
|
|
|
|
2017-09-25 01:15:44 -07:00
|
|
|
#include "efl_access_text.eo.c"
|