From 21213802e4decaebb5f9ab5a1f908547fbb9c351 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Fri, 15 Sep 2017 16:37:26 +0200 Subject: [PATCH] eolian: switch validation to new ownership system --- src/lib/eolian/database_validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c index dde30db..11ba527 100644 --- a/src/lib/eolian/database_validate.c +++ b/src/lib/eolian/database_validate.c @@ -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); -- 2.7.4