discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=dfb0e32bb66691bf784402ab5860fe3454b57b6c

commit dfb0e32bb66691bf784402ab5860fe3454b57b6c
Author: Mike Blumenkrantz <m.blumenk...@samsung.com>
Date:   Thu Sep 26 09:02:54 2013 +0100

    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);
      }

-- 


Reply via email to