diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-04-07 08:44:17 +0900 |
---|---|---|
committer | WooHyun Jung <wh0705.jung@samsung.com> | 2020-04-07 08:44:17 +0900 |
commit | fd853894e5ca6f165447c202f0fbcc89237842b0 (patch) | |
tree | e90d8d0395f5125658580c934f7cf93660dd9b8b | |
parent | cd4508150d3ce07ae7e431af7a86216d5c19a494 (diff) | |
download | efl-fd853894e5ca6f165447c202f0fbcc89237842b0.tar.gz |
eo: only prepare a empty node
Summary:
do not take over complete vtables.
This might fix wrong vtable settings when a type is not in the
inheritance of another type, but the function is implemented.
Reviewers: woohyun
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D11657
-rw-r--r-- | src/lib/eo/eo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index 23a6b35ba0..4d3469c428 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -966,7 +966,7 @@ efl_class_functions_set(const Efl_Class *klass_id, const Efl_Object_Ops *object_ else { ERR("There is an API implemented, whoms type is not part of this class. %s vs. %s", klass->desc->name, required_klass->desc->name); - _vtable_take_over(&klass->vtable, &required_klass->vtable); + _vtable_prepare_empty_node(&klass->vtable, required_klass->vtable.chain[class_id].count, class_id); hitmap[class_id] = EINA_TRUE; } |