summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eo_definitions.c4
-rw-r--r--eo_definitions.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/eo_definitions.c b/eo_definitions.c
index 760337f..2a7f587 100644
--- a/eo_definitions.c
+++ b/eo_definitions.c
@@ -29,8 +29,8 @@ eo_definitions_accessor_free(Eo_Accessor_Def *accessor)
if (accessor->comment)
eina_stringshare_del(accessor->comment);
- EINA_LIST_FOREACH(accessor->legacies, l, s)
- if (s) eina_stringshare_del(s);
+ if (accessor->legacy)
+ eina_stringshare_del(accessor->legacy);
eo_definitions_ret_free(&accessor->ret);
diff --git a/eo_definitions.h b/eo_definitions.h
index 844717e..209cf7e 100644
--- a/eo_definitions.h
+++ b/eo_definitions.h
@@ -43,7 +43,7 @@ typedef struct _eo_accessor_def
Eo_Accessor_Type type;
Eo_Ret_Def ret;
const char *comment;
- Eina_List *legacies;
+ const char* legacy;
} Eo_Accessor_Def;
/* PROPERTY */