meh, printf->fprintf and some c++ comments gone

SVN revision: 13134
This commit is contained in:
digitalfallout 2005-01-30 06:27:51 +00:00 committed by digitalfallout
parent ed8b9251f4
commit 663f446165
2 changed files with 7 additions and 7 deletions

View File

@ -9,8 +9,8 @@
/* OBJECT_CHECK is a simple null pointer and magic number check with no */ /* OBJECT_CHECK is a simple null pointer and magic number check with no */
/* debug output */ /* debug output */
//#define OBJECT_PARANOIA_CHECK /* #define OBJECT_PARANOIA_CHECK */
//#define OBJECT_CHECK /* #define OBJECT_CHECK */
#ifndef __GLIBC__ #ifndef __GLIBC__
# ifdef OBJECT_PARANOIA_CHECK # ifdef OBJECT_PARANOIA_CHECK

View File

@ -40,7 +40,7 @@ e_init(const char* display)
/* basic ecore init */ /* basic ecore init */
if (!ecore_init()) if (!ecore_init())
{ {
printf("ERROR: Enlightenment cannot Initialize Ecore!\n" fprintf(stderr, "ERROR: Enlightenment cannot Initialize Ecore!\n"
"Perhaps you are out of memory?\n"); "Perhaps you are out of memory?\n");
return 0; return 0;
} }
@ -48,7 +48,7 @@ e_init(const char* display)
/* init ipc */ /* init ipc */
if (!ecore_ipc_init()) if (!ecore_ipc_init())
{ {
printf("ERROR: Enlightenment cannot initialize the ipc system.\n" fprintf(stderr, "ERROR: Enlightenment cannot initialize the ipc system.\n"
"Perhaps you are out of memory?\n"); "Perhaps you are out of memory?\n");
return 0; return 0;
} }
@ -56,7 +56,7 @@ e_init(const char* display)
/* setup e ipc service */ /* setup e ipc service */
if (!_e_ipc_init(display)) if (!_e_ipc_init(display))
{ {
printf("ERROR: Enlightenment cannot set up the IPC socket.\n" fprintf(stderr, "ERROR: Enlightenment cannot set up the IPC socket.\n"
"Did you specify the right display?\n"); "Did you specify the right display?\n");
return 0; return 0;
} }
@ -157,8 +157,8 @@ _e_ipc_init(const char *display)
/* similar... */ /* similar... */
if (!_e_ipc_server) return 0; if (!_e_ipc_server) return 0;
// ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_ADD, _e_cb_server_add, NULL); /* ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_ADD, _e_cb_server_add, NULL);*/
// ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_DEL, _e_cb_server_del, NULL); /* ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_DEL, _e_cb_server_del, NULL);*/
ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_DATA, _e_cb_server_data, NULL); ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_DATA, _e_cb_server_data, NULL);
return 1; return 1;