summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_interface_atspi_text.c
blob: 792d27c4c8feb9e6c20f11ea6575664d386d9630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifdef HAVE_CONFIG_H
  #include "elementary_config.h"
#endif

#define ELM_INTERFACE_ATSPI_TEXT_PROTECTED

#include <Elementary.h>
#include "elm_widget.h"
#include "elm_priv.h"

void
EAPI elm_atspi_text_text_attribute_free(Elm_Atspi_Text_Attribute *attr)
{
   if (!attr) return;
   if (attr->name) eina_stringshare_del(attr->name);
   if (attr->value) eina_stringshare_del(attr->value);
   free(attr);
}

#include "elm_interface_atspi_text.eo.c"