Enlightenment CVS committal Author : moom Project : e17 Module : proto
Dir : e17/proto/etk/src/lib Modified Files: etk_widget.c etk_window.c Log Message: [Window] Destroy the window when it's requested!!! =================================================================== RCS file: /cvs/e/e17/proto/etk/src/lib/etk_widget.c,v retrieving revision 1.65 retrieving revision 1.66 diff -u -3 -r1.65 -r1.66 --- etk_widget.c 8 Aug 2006 02:26:06 -0000 1.65 +++ etk_widget.c 8 Aug 2006 15:55:55 -0000 1.66 @@ -2341,7 +2341,6 @@ return; } - /* TODO: what if the widget is destroyed by one of the callbacks (recurrent problem!!!) ?? */ if (widget->repeat_mouse_events && widget->parent) _etk_widget_mouse_up_cb(widget->parent, evas, NULL, event_info); } =================================================================== RCS file: /cvs/e/e17/proto/etk/src/lib/etk_window.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -3 -r1.33 -r1.34 --- etk_window.c 8 Aug 2006 00:57:33 -0000 1.33 +++ etk_window.c 8 Aug 2006 15:55:55 -0000 1.34 @@ -767,7 +767,7 @@ { Etk_Bool result; - if (etk_signal_emit(_etk_window_signals[ETK_WINDOW_DELETE_EVENT_SIGNAL], ETK_OBJECT(window), &result) && result) + if (etk_signal_emit(_etk_window_signals[ETK_WINDOW_DELETE_EVENT_SIGNAL], ETK_OBJECT(window), &result) && !result) etk_object_destroy(ETK_OBJECT(window)); } ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs