eolian: switch validation to new ownership system

This commit is contained in:
Daniel Kolesa 2017-09-15 16:37:26 +02:00
parent 157e125114
commit 21213802e4
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ _validate_type(Eolian_Type *tp)
{
char buf[256];
if ((tp->is_own || tp->freefunc) && !database_type_is_ownable(tp, EINA_FALSE))
if ((tp->owned || tp->freefunc) && !database_type_is_ownable(tp, EINA_FALSE))
{
snprintf(buf, sizeof(buf), "type '%s' is not ownable", tp->full_name);
return _type_error(tp, buf);