From 1fc3065c22268eff96c3d135132fffd04654a89a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 28 Nov 2013 16:20:36 +0100 Subject: eo_definitions: legacies [char* -> legacy char* --- eo_definitions.c | 4 ++-- eo_definitions.h | 2 +- 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 */ -- cgit v1.1-2-g2b99