Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_embed.c
Log Message:
- unclip all clipees when we cache an object. This fixes the infinite
recursion we were seeing with the combo test
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_embed.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- ewl_embed.c 3 Mar 2006 01:59:54 -0000 1.51
+++ ewl_embed.c 14 Mar 2006 05:18:46 -0000 1.52
@@ -1019,6 +1019,7 @@
{
const char *type;
Ecore_List *obj_list;
+ Evas_List *clippees, *l;
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("e", e);
@@ -1031,6 +1032,10 @@
evas_object_clip_unset(obj);
evas_object_hide(obj);
+ clippees = evas_object_clipees_get(obj);
+ for (l = clippees; l; l = l->next)
+ evas_object_clip_unset(l->data);
+
if (e->obj_cache) {
type = evas_object_type_get(obj);
obj_list = ecore_hash_get(e->obj_cache, (void *)type);
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs