discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=bd0142536ad52dfe2a953f89d5f853c97e4d2472

commit bd0142536ad52dfe2a953f89d5f853c97e4d2472
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Feb 29 10:11:38 2016 -0500

    remove useless client_add handler in e_ipc
    
    CID 1267210
---
 src/bin/e_ipc.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/src/bin/e_ipc.c b/src/bin/e_ipc.c
index 17f645a..744b971 100644
--- a/src/bin/e_ipc.c
+++ b/src/bin/e_ipc.c
@@ -4,7 +4,6 @@ EINTERN char *e_ipc_socket = NULL;
 
 #ifdef USE_IPC
 /* 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_data(void *data EINA_UNUSED, int type 
EINA_UNUSED, void *event);
 
@@ -110,8 +109,6 @@ retry:
 
    INF("E_IPC_SOCKET=%s", 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,
                            _e_ipc_cb_client_del, NULL);
    ecore_event_handler_add(ECORE_IPC_EVENT_CLIENT_DATA,
@@ -140,17 +137,6 @@ e_ipc_shutdown(void)
 #ifdef USE_IPC
 /* 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
 _e_ipc_cb_client_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
 {
    Ecore_Ipc_Event_Client_Del *e;

-- 


Reply via email to