summaryrefslogtreecommitdiff
path: root/src/tests/eolian/data/owning.eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eolian/data/owning.eo.c')
-rw-r--r--src/tests/eolian/data/owning.eo.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/tests/eolian/data/owning.eo.c b/src/tests/eolian/data/owning.eo.c
index 8712993c9b..bf7e78bf9f 100644
--- a/src/tests/eolian/data/owning.eo.c
+++ b/src/tests/eolian/data/owning.eo.c
@@ -43,7 +43,7 @@ EOAPI EFL_VOID_FUNC_BODYV_FALLBACK(owning_test2, _owning_test2_ownership_fallbac
43static Eina_Bool 43static Eina_Bool
44_owning_class_initializer(Efl_Class *klass) 44_owning_class_initializer(Efl_Class *klass)
45{ 45{
46 const Efl_Object_Ops *opsp = NULL, *copsp = NULL; 46 const Efl_Object_Ops *opsp = NULL;
47 47
48#ifndef OWNING_EXTRA_OPS 48#ifndef OWNING_EXTRA_OPS
49#define OWNING_EXTRA_OPS 49#define OWNING_EXTRA_OPS
@@ -56,12 +56,7 @@ _owning_class_initializer(Efl_Class *klass)
56 ); 56 );
57 opsp = &ops; 57 opsp = &ops;
58 58
59#ifdef OWNING_EXTRA_CLASS_OPS 59 return efl_class_functions_set(klass, opsp, NULL, NULL);
60 EFL_OPS_DEFINE(cops, OWNING_EXTRA_CLASS_OPS);
61 copsp = &cops;
62#endif
63
64 return efl_class_functions_set(klass, opsp, copsp, NULL);
65} 60}
66 61
67static const Efl_Class_Description _owning_class_desc = { 62static const Efl_Class_Description _owning_class_desc = {