forked from enlightenment/efl
edje swallowing on the currently-swallowed part, which is a noop, now once again returns true
This commit is contained in:
parent
b125a9afa6
commit
dfb0e32bb6
|
@ -3386,7 +3386,11 @@ _part_swallow(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
|
||||||
if (rpcur)
|
if (rpcur)
|
||||||
{
|
{
|
||||||
/* the object is already swallowed in the requested part */
|
/* the object is already swallowed in the requested part */
|
||||||
if (rpcur == rp) return;
|
if (rpcur == rp)
|
||||||
|
{
|
||||||
|
*ret = EINA_TRUE;
|
||||||
|
return;
|
||||||
|
}
|
||||||
/* The object is already swallowed somewhere, unswallow it first */
|
/* The object is already swallowed somewhere, unswallow it first */
|
||||||
edje_object_part_unswallow(ed->obj, obj_swallow);
|
edje_object_part_unswallow(ed->obj, obj_swallow);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue