parent
8eae3f3a96
commit
bd0142536a
|
@ -4,7 +4,6 @@ EINTERN char *e_ipc_socket = NULL;
|
||||||
|
|
||||||
#ifdef USE_IPC
|
#ifdef USE_IPC
|
||||||
/* local subsystem functions */
|
/* local subsystem functions */
|
||||||
static Eina_Bool _e_ipc_cb_client_add(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
|
|
||||||
static Eina_Bool _e_ipc_cb_client_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
|
static Eina_Bool _e_ipc_cb_client_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
|
||||||
static Eina_Bool _e_ipc_cb_client_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
|
static Eina_Bool _e_ipc_cb_client_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
|
||||||
|
|
||||||
|
@ -110,8 +109,6 @@ retry:
|
||||||
|
|
||||||
INF("E_IPC_SOCKET=%s", buf3);
|
INF("E_IPC_SOCKET=%s", buf3);
|
||||||
e_util_env_set("E_IPC_SOCKET", buf3);
|
e_util_env_set("E_IPC_SOCKET", buf3);
|
||||||
ecore_event_handler_add(ECORE_IPC_EVENT_CLIENT_ADD,
|
|
||||||
_e_ipc_cb_client_add, NULL);
|
|
||||||
ecore_event_handler_add(ECORE_IPC_EVENT_CLIENT_DEL,
|
ecore_event_handler_add(ECORE_IPC_EVENT_CLIENT_DEL,
|
||||||
_e_ipc_cb_client_del, NULL);
|
_e_ipc_cb_client_del, NULL);
|
||||||
ecore_event_handler_add(ECORE_IPC_EVENT_CLIENT_DATA,
|
ecore_event_handler_add(ECORE_IPC_EVENT_CLIENT_DATA,
|
||||||
|
@ -139,17 +136,6 @@ e_ipc_shutdown(void)
|
||||||
|
|
||||||
#ifdef USE_IPC
|
#ifdef USE_IPC
|
||||||
/* local subsystem globals */
|
/* local subsystem globals */
|
||||||
static Eina_Bool
|
|
||||||
_e_ipc_cb_client_add(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
|
||||||
{
|
|
||||||
Ecore_Ipc_Event_Client_Add *e;
|
|
||||||
|
|
||||||
e = event;
|
|
||||||
if (ecore_ipc_client_server_get(e->client) != _e_ipc_server)
|
|
||||||
return ECORE_CALLBACK_PASS_ON;
|
|
||||||
return ECORE_CALLBACK_PASS_ON;
|
|
||||||
}
|
|
||||||
|
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_e_ipc_cb_client_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
_e_ipc_cb_client_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue