Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : proto

Dir     : e17/proto/esmart/src/container


Modified Files:
        container.c container_smart.c 


Log Message:

cleanup some printfs
free the plugin on _container_del

===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/container/container.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- container.c 13 Jan 2004 01:25:09 -0000      1.8
+++ container.c 13 Jan 2004 19:49:02 -0000      1.9
@@ -336,7 +336,6 @@
 void
 _container_elements_fix(Container *cont)
 {
-  printf("layout\n");
   if (cont->plugin && cont->plugin->layout)
     cont->plugin->layout(cont);
 }
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/container/container_smart.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- container_smart.c   13 Jan 2004 19:23:39 -0000      1.9
+++ container_smart.c   13 Jan 2004 19:49:02 -0000      1.10
@@ -104,10 +104,13 @@
 void
 _container_del(Evas_Object *obj)
 {
-  Container *cont = evas_object_smart_data_get(obj);
+  Container *data;
 
+  data = _container_fetch(obj);
+  
   e_container_empty(obj);
-  free(cont);
+  _container_layout_plugin_free(data->plugin);
+  free(data);
 }
 
 void




-------------------------------------------------------
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