eo: allow setting value eo Eina_Value from an Eo pointer directly.

This commit is contained in:
Cedric BAIL 2018-03-05 13:36:54 -08:00
parent 07e5064e15
commit a57eca7f02
1 changed files with 2 additions and 2 deletions

View File

@ -3386,8 +3386,8 @@ static Eina_Bool
_eo_value_vset(const Eina_Value_Type *type EINA_UNUSED, void *mem, va_list args)
{
Eo **dst = mem;
Eo **src = va_arg(args, Eo **);
efl_replace(dst, *src);
Eo *src = va_arg(args, Eo *);
efl_replace(dst, src);
return EINA_TRUE;
}