Hey guys,

edje_object_part_swallow_get() used to return subgroup object in an
edje till 1.16. It seems that the behavior is changed in current
master.

Was it intentional? or missed it during efl interfaces development?

I think following changes needs to be done to fix this.

diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index 8eb729b..fe3506f 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -3730,7 +3730,8 @@ _edje_object_efl_part_part(Eo *obj, Edje *ed,
const char *part)
      return _edje_box_internal_proxy_get(obj, ed, rp);
    else if (rp->part->type == EDJE_PART_TYPE_TABLE)
      return _edje_table_internal_proxy_get(obj, ed, rp);
-   else if (rp->part->type == EDJE_PART_TYPE_SWALLOW)
+   else if (rp->part->type == EDJE_PART_TYPE_SWALLOW ||
+            rp->part->type == EDJE_PART_TYPE_GROUP)
      return _edje_swallow_internal_proxy_get(obj, ed, rp);
    else return NULL; /* FIXME/TODO: text & others (color, ...) */
 }


Regards
Amitesh

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to