Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/canvas


Modified Files:
        evas_object_smart.c 


Log Message:


delete a smart child from its parent if it is still in there on cleanup :)

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_smart.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- evas_object_smart.c 12 Feb 2005 04:09:21 -0000      1.11
+++ evas_object_smart.c 27 Apr 2005 02:35:48 -0000      1.12
@@ -336,6 +336,8 @@
    Evas_Smart *s;
    
    s = obj->smart.smart;
+   if (obj->smart.parent)
+     evas_object_smart_member_del(obj);
    while (obj->smart.contained)
      {
        /* null out smart parent object - maybe a hole to creep through? */




-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to