Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_notebook.c 


Log Message:
- the widgets will be removed from the container in the ewl_widget_destroy()
  callback. No reason to try it again. (Thanks bouriquet)
  

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_notebook.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ewl_notebook.c      24 Oct 2005 22:05:04 -0000      1.6
+++ ewl_notebook.c      16 Nov 2005 16:18:57 -0000      1.7
@@ -271,8 +271,6 @@
                        ewl_notebook_visible_page_set(n, 0);
 
                if (page->tab) {
-                       ewl_container_child_remove(EWL_CONTAINER(n->tab_box),
-                                                               page->tab);
                        ewl_widget_destroy(page->tab);
                        page->tab = NULL;
                }
@@ -281,8 +279,6 @@
                        page->page = NULL;
                }
 
-               ewl_container_child_remove(EWL_CONTAINER(n->page_box),
-                                                       page->page);
                FREE(page);
        }
 




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to