Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_object.c 


Log Message:


oops - fix. and a bug found

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_object.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- e_object.c  25 Jun 2005 06:54:22 -0000      1.12
+++ e_object.c  28 Jun 2005 07:15:51 -0000      1.13
@@ -50,7 +50,12 @@
    E_OBJECT_CHECK(obj);
    if (obj->deleted) return;
    if (obj->del_att_func) obj->del_att_func(obj);
-   if (obj->del_func) obj->del_func(obj);
+   if (obj->del_func)
+     {
+       if (obj->crumbs)
+         printf("EEEK obj type %x has crumbs still!\n", obj->type);
+       obj->del_func(obj);
+     }
    obj->deleted = 1;
    e_object_unref(obj);
 }
@@ -271,6 +276,7 @@
          {
             free(l->data);
             obj->crumbs = evas_list_remove_list(obj->crumbs, l);
+            return;
          }
      }
 }




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to