summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-09-15 16:37:26 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-09-15 16:37:26 +0200
commit21213802e4decaebb5f9ab5a1f908547fbb9c351 (patch)
treedd95ff5b8f4d8863492c8e1d1817ccfb493dba12 /src
parent157e125114c23db0e8a85229032c637059996615 (diff)
eolian: switch validation to new ownership system
Diffstat (limited to 'src')
-rw-r--r--src/lib/eolian/database_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index dde30db11c..11ba527772 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -148,7 +148,7 @@ _validate_type(Eolian_Type *tp)
148{ 148{
149 char buf[256]; 149 char buf[256];
150 150
151 if ((tp->is_own || tp->freefunc) && !database_type_is_ownable(tp, EINA_FALSE)) 151 if ((tp->owned || tp->freefunc) && !database_type_is_ownable(tp, EINA_FALSE))
152 { 152 {
153 snprintf(buf, sizeof(buf), "type '%s' is not ownable", tp->full_name); 153 snprintf(buf, sizeof(buf), "type '%s' is not ownable", tp->full_name);
154 return _type_error(tp, buf); 154 return _type_error(tp, buf);