Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin Modified Files: ewl_notebook2_test.c Log Message: - make notebook2 delete work correctly =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_notebook2_test.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- ewl_notebook2_test.c 3 Feb 2006 16:26:44 -0000 1.4 +++ ewl_notebook2_test.c 3 Feb 2006 18:57:48 -0000 1.5 @@ -88,7 +88,10 @@ notebook2_delete_page(Ewl_Widget *w __UNUSED__, void *ev __UNUSED__, void *data) { - printf("DELETE PAGE %p\n", data); + Ewl_Widget *n; + + n = ewl_widget_name_find("notebook"); + ewl_container_child_remove(EWL_CONTAINER(n), EWL_WIDGET(data)); } static Ewl_Widget * ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs