void _edje_color_class_member_add(Edje *ed, char *color_class);
void _edje_color_class_member_del(Edje *ed, char *color_class);
void _edje_color_class_on_del(Edje *ed, Edje_Part *ep);
+void _edje_color_class_members_free(void);
+
Edje_Text_Class *_edje_text_class_find(Edje *ed, char *text_class);
void _edje_text_class_member_add(Edje *ed, char *text_class);
void _edje_text_class_member_del(Edje *ed, char *text_class);
+void _edje_text_class_members_free(void);
+
Edje *_edje_fetch(Evas_Object *obj);
int _edje_glob_match(char *str, char *glob);
int _edje_freeze(Edje *ed);
{
Evas_List *l;
- if ((!ed) || (!color_class)) return;
+ if ((!ed) || (!color_class)) return NULL;
for (l = ed->color_classes; l; l = l->next)
{
Edje_Color_Class *cc;
void
_edje_color_class_member_del(Edje *ed, char *color_class)
{
- Evas_List *members, *tmp = NULL;
+ Evas_List *members;
if ((!ed) || (!color_class)) return;
members = evas_hash_find(_edje_color_class_member_hash, color_class);
if (members) _edje_color_class_member_hash = evas_hash_add(_edje_color_class_member_hash, color_class, members);
}
+void
+_edje_color_class_members_free(void)
+{
+ if (!_edje_color_class_member_hash) return;
+
+ evas_hash_free(_edje_color_class_member_hash);
+ _edje_color_class_member_hash = NULL;
+}
+
void
_edje_color_class_on_del(Edje *ed, Edje_Part *ep)
{
{
Evas_List *l;
- if ((!ed) || (!text_class)) return;
+ if ((!ed) || (!text_class)) return NULL;
for (l = ed->text_classes; l; l = l->next)
{
Edje_Text_Class *tc;
void
_edje_text_class_member_del(Edje *ed, char *text_class)
{
- Evas_List *members, *tmp = NULL;
+ Evas_List *members;
if ((!ed) || (!text_class)) return;
members = evas_hash_find(_edje_text_class_member_hash, text_class);
if (members) _edje_text_class_member_hash = evas_hash_add(_edje_text_class_member_hash, text_class, members);
}
+void
+_edje_text_class_members_free(void)
+{
+ if (!_edje_text_class_member_hash) return;
+
+ evas_hash_free(_edje_text_class_member_hash);
+ _edje_text_class_member_hash = NULL;
+}
+
Edje *
_edje_fetch(Evas_Object *obj)
{