edje swallowing on the currently-swallowed part, which is a noop, now once again returns true

This commit is contained in:
Mike Blumenkrantz 2013-09-26 09:02:54 +01:00
parent b125a9afa6
commit dfb0e32bb6
1 changed files with 5 additions and 1 deletions

View File

@ -3386,7 +3386,11 @@ _part_swallow(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
if (rpcur)
{
/* 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 */
edje_object_part_unswallow(ed->obj, obj_swallow);
}