forked from enlightenment/efl
Eo: class_get on a class should not return itself.
This is there until we create a Class class of which all classes are instances.
This commit is contained in:
parent
c1e5fb7cf8
commit
7ed7d7da8b
|
@ -457,7 +457,7 @@ eo_class_get(const Eo *obj_id)
|
|||
if (_eo_is_a_class(obj_id))
|
||||
{
|
||||
EO_CLASS_POINTER_RETURN_VAL(obj_id, _klass, NULL);
|
||||
return obj_id;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
EO_OBJ_POINTER_RETURN_VAL(obj_id, obj, NULL);
|
||||
|
|
Loading…
Reference in New Issue