summaryrefslogtreecommitdiff
path: root/src/bin/e_ipc.c
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2011-08-17 18:22:52 +0000
committerChristopher Michael <cpmichael1@comcast.net>2011-08-17 18:22:52 +0000
commit40b8198e49c81ec4df8fb19c6d1d181eb7c808c4 (patch)
treeddaa7297e548dbb9ce18af9467adf011d29d86bd /src/bin/e_ipc.c
parent93fcafaf16af3243e2c3a8521736689787fb7d02 (diff)
E17: Don't search for the restart & exit actions, just call
ecore_app_restart or exit directly. SVN revision: 62539
Diffstat (limited to 'src/bin/e_ipc.c')
-rw-r--r--src/bin/e_ipc.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/bin/e_ipc.c b/src/bin/e_ipc.c
index 8cf7d45..5acecec 100644
--- a/src/bin/e_ipc.c
+++ b/src/bin/e_ipc.c
@@ -204,21 +204,17 @@ _e_ipc_cb_client_data(void *data __UNUSED__, int type __UNUSED__, void *event)
204 204
205 case E_IPC_DOMAIN_ALERT: 205 case E_IPC_DOMAIN_ALERT:
206 { 206 {
207 E_Action *a = NULL;
208
209 switch (e->minor) 207 switch (e->minor)
210 { 208 {
211 case E_ALERT_OP_RESTART: 209 case E_ALERT_OP_RESTART:
212 a = e_action_find("restart"); 210 ecore_app_restart();
213 break; 211 break;
214 case E_ALERT_OP_EXIT: 212 case E_ALERT_OP_EXIT:
215 a = e_action_find("exit_now"); 213 exit(-11);
216 break; 214 break;
217 } 215 }
218 if ((a) && (a->func.go)) a->func.go(NULL, NULL);
219 break;
220 } 216 }
221 217 break;
222 default: 218 default:
223 break; 219 break;
224 } 220 }