Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/evas

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


Modified Files:
        evas_smart.c evas_object_smart.c 


Log Message:
fixed evas smart object refcounting
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_smart.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_smart.c        18 Oct 2003 03:34:00 -0000      1.5
+++ evas_smart.c        12 Jan 2004 21:57:15 -0000      1.6
@@ -147,5 +147,5 @@
 evas_object_smart_unuse(Evas_Smart *s)
 {
    s->usage--;
-   if (s->delete_me) evas_smart_free(s);
+   if (!s->usage) evas_smart_free(s);
 }
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_smart.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- evas_object_smart.c 18 Oct 2003 03:34:00 -0000      1.9
+++ evas_object_smart.c 12 Jan 2004 21:57:15 -0000      1.10
@@ -350,7 +350,6 @@
    obj->smart.parent = NULL;
    obj->smart.data = NULL;
    obj->smart.smart = NULL;
-   if (s) evas_object_smart_unuse(s);
 }
 
 /* all nice and private */




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to