Enlightenment CVS committal
Author : mekius
Project : e17
Module : proto
Dir : e17/proto/empower/src/bin/ewl
Modified Files:
empower_cb_ewl.c
Log Message:
Exit with code 0 when exiting through normal means instead of -1
===================================================================
RCS file: /cvs/e/e17/proto/empower/src/bin/ewl/empower_cb_ewl.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- empower_cb_ewl.c 1 Jun 2007 04:20:09 -0000 1.8
+++ empower_cb_ewl.c 1 Jun 2007 06:22:58 -0000 1.9
@@ -10,7 +10,7 @@
{
ewl_widget_destroy(EWL_WIDGET(win));
ewl_main_quit();
- exit(-1);
+ exit(0);
}
else
{
@@ -73,7 +73,7 @@
ewl_widget_destroy(EWL_WIDGET(win));
ewl_main_quit();
- exit(-1);
+ exit(0);
}
void reveal_cb(Ewl_Widget *w, void *event, void *data)
@@ -111,7 +111,7 @@
if((ev->exit_code))
{
ewl_main_quit();
- exit(-1);
+ exit(0);
}
else if(mode == SUDOPROG)
{
@@ -148,5 +148,5 @@
{
ewl_main_quit();
- exit(-1);
+ exit(0);
}
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs