git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@66934
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
2012-01-05 Cedric Bail
* Reduce call to stat during edje_object_file_set.
+
+2012-01-06 Cedric Bail
+
+ * Unswallow object that are about to be swallowed if necessary.
* speedup load time of Edje file.
* check existence of group at compile time also.
* reduce number of call to stat during edje_object_file_set.
+ * unswallow object about to be swallowed if necessary.
Changes since Edje 1.0.0:
-------------------------
// XXX: by Sachiel, January 21th 2009, 19:30 UTC
_edje_recalc_do(ed);
+ rp = evas_object_data_get(obj_swallow, "\377 edje.swallowing_part");
+ if (rp)
+ {
+ /* The object is already swallowed somewhere, unswallow it first */
+ edje_object_part_unswallow(rp->edje->obj, obj_swallow);
+ }
+
rp = _edje_real_part_recursive_get(ed, (char *)part);
if (!rp) return EINA_FALSE;
if (rp->part->type != EDJE_PART_TYPE_SWALLOW)