parent
e7ee1046ad
commit
ef62088c0d
|
@ -382,7 +382,7 @@ main (int argc, char ** argv)
|
||||||
free(dname);
|
free(dname);
|
||||||
if (entrance_session_logged_get())
|
if (entrance_session_logged_get())
|
||||||
{
|
{
|
||||||
PT("Bye, see you. Now go to code !\n");
|
PT("Bye user logged, see you.");
|
||||||
entrance_close_log();
|
entrance_close_log();
|
||||||
_entrance_wait();
|
_entrance_wait();
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,6 @@ static Eina_Bool _history_update = EINA_FALSE;
|
||||||
void
|
void
|
||||||
entrance_history_init()
|
entrance_history_init()
|
||||||
{
|
{
|
||||||
fprintf(stderr, PACKAGE": history init\n");
|
|
||||||
Eet_Data_Descriptor *edd;
|
Eet_Data_Descriptor *edd;
|
||||||
Eet_Data_Descriptor_Class eddc, eddcl;
|
Eet_Data_Descriptor_Class eddc, eddcl;
|
||||||
// TODO add idler to load history and thread stuff
|
// TODO add idler to load history and thread stuff
|
||||||
|
@ -44,7 +43,6 @@ Eina_List *entrance_history_get()
|
||||||
void
|
void
|
||||||
entrance_history_shutdown()
|
entrance_history_shutdown()
|
||||||
{
|
{
|
||||||
fprintf(stderr, PACKAGE": history shutdown\n");
|
|
||||||
_entrance_history_write();
|
_entrance_history_write();
|
||||||
_entrance_user_shutdown();
|
_entrance_user_shutdown();
|
||||||
}
|
}
|
||||||
|
|
|
@ -124,12 +124,9 @@ entrance_server_init()
|
||||||
{
|
{
|
||||||
Ecore_Event_Handler *h;
|
Ecore_Event_Handler *h;
|
||||||
ecore_con_init();
|
ecore_con_init();
|
||||||
fprintf(stderr, PACKAGE": server init\n");
|
|
||||||
_entrance_server = ecore_con_server_add(ECORE_CON_LOCAL_SYSTEM,
|
_entrance_server = ecore_con_server_add(ECORE_CON_LOCAL_SYSTEM,
|
||||||
"entrance", 42, NULL);
|
"entrance", 42, NULL);
|
||||||
if (_entrance_server)
|
if (!_entrance_server)
|
||||||
fprintf(stderr, PACKAGE": server init ok\n");
|
|
||||||
else
|
|
||||||
fprintf(stderr, PACKAGE": server init fail\n");
|
fprintf(stderr, PACKAGE": server init fail\n");
|
||||||
|
|
||||||
h = ecore_event_handler_add(ECORE_CON_EVENT_CLIENT_ADD,
|
h = ecore_event_handler_add(ECORE_CON_EVENT_CLIENT_ADD,
|
||||||
|
@ -147,7 +144,6 @@ void
|
||||||
entrance_server_shutdown()
|
entrance_server_shutdown()
|
||||||
{
|
{
|
||||||
Ecore_Event_Handler *h;
|
Ecore_Event_Handler *h;
|
||||||
fprintf(stderr, PACKAGE": server shutdown\n");
|
|
||||||
if (_entrance_server)
|
if (_entrance_server)
|
||||||
ecore_con_server_del(_entrance_server);
|
ecore_con_server_del(_entrance_server);
|
||||||
EINA_LIST_FREE(_handlers, h)
|
EINA_LIST_FREE(_handlers, h)
|
||||||
|
|
Loading…
Reference in New Issue