From dfb0e32bb66691bf784402ab5860fe3454b57b6c Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 26 Sep 2013 09:02:54 +0100 Subject: [PATCH] edje swallowing on the currently-swallowed part, which is a noop, now once again returns true --- src/lib/edje/edje_util.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c index 9bffaea..c571c76 100644 --- a/src/lib/edje/edje_util.c +++ b/src/lib/edje/edje_util.c @@ -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); } -- 2.7.4