summaryrefslogtreecommitdiff
path: root/src/bin/e_ipc.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-02-29 10:11:38 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-02-29 10:43:02 -0500
commitbd0142536ad52dfe2a953f89d5f853c97e4d2472 (patch)
tree78f0d74ad1f8cae4a1044d71921ae7e78e002405 /src/bin/e_ipc.c
parent8eae3f3a968fd3a77b7b7513ae401890fa85a748 (diff)
remove useless client_add handler in e_ipc
CID 1267210
Diffstat (limited to 'src/bin/e_ipc.c')
-rw-r--r--src/bin/e_ipc.c14
1 files changed, 0 insertions, 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;
4 4
5#ifdef USE_IPC 5#ifdef USE_IPC
6/* local subsystem functions */ 6/* local subsystem functions */
7static Eina_Bool _e_ipc_cb_client_add(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
8static Eina_Bool _e_ipc_cb_client_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event); 7static Eina_Bool _e_ipc_cb_client_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
9static Eina_Bool _e_ipc_cb_client_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *event); 8static Eina_Bool _e_ipc_cb_client_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
10 9
@@ -110,8 +109,6 @@ retry:
110 109
111 INF("E_IPC_SOCKET=%s", buf3); 110 INF("E_IPC_SOCKET=%s", buf3);
112 e_util_env_set("E_IPC_SOCKET", buf3); 111 e_util_env_set("E_IPC_SOCKET", buf3);
113 ecore_event_handler_add(ECORE_IPC_EVENT_CLIENT_ADD,
114 _e_ipc_cb_client_add, NULL);
115 ecore_event_handler_add(ECORE_IPC_EVENT_CLIENT_DEL, 112 ecore_event_handler_add(ECORE_IPC_EVENT_CLIENT_DEL,
116 _e_ipc_cb_client_del, NULL); 113 _e_ipc_cb_client_del, NULL);
117 ecore_event_handler_add(ECORE_IPC_EVENT_CLIENT_DATA, 114 ecore_event_handler_add(ECORE_IPC_EVENT_CLIENT_DATA,
@@ -140,17 +137,6 @@ e_ipc_shutdown(void)
140#ifdef USE_IPC 137#ifdef USE_IPC
141/* local subsystem globals */ 138/* local subsystem globals */
142static Eina_Bool 139static Eina_Bool
143_e_ipc_cb_client_add(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
144{
145 Ecore_Ipc_Event_Client_Add *e;
146
147 e = event;
148 if (ecore_ipc_client_server_get(e->client) != _e_ipc_server)
149 return ECORE_CALLBACK_PASS_ON;
150 return ECORE_CALLBACK_PASS_ON;
151}
152
153static Eina_Bool
154_e_ipc_cb_client_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event) 140_e_ipc_cb_client_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
155{ 141{
156 Ecore_Ipc_Event_Client_Del *e; 142 Ecore_Ipc_Event_Client_Del *e;