edje swallowing on the currently-swallowed part, which is a noop, now once again...
authorMike Blumenkrantz <m.blumenkran@samsung.com>
Thu, 26 Sep 2013 08:02:54 +0000 (09:02 +0100)
committerMike Blumenkrantz <m.blumenkran@samsung.com>
Thu, 26 Sep 2013 08:02:54 +0000 (09:02 +0100)
src/lib/edje/edje_util.c

index 9bffaea..c571c76 100644 (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);
      }