summaryrefslogtreecommitdiff
path: root/src/bin/main.c
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2013-05-02 19:25:45 +0300
committerYakov Goldberg <yakov.g@samsung.com>2013-05-02 19:30:58 +0300
commit03e812f8da5a173f442a09b6f58b6c95b1052198 (patch)
treed13d1d886fee305eff9a2756d2df9303718a4039 /src/bin/main.c
parentb0db153ea914625e726ceae1005747694a05ae86 (diff)
add elm_policy_set, to auto exit in simulation mode
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Diffstat (limited to 'src/bin/main.c')
-rw-r--r--src/bin/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index aee50ac..8b9395e 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -72,6 +72,7 @@ _simulate(const char *filename)
72 72
73 gui_context_validate(ctx); 73 gui_context_validate(ctx);
74 simulator_ctx_call(ctx); 74 simulator_ctx_call(ctx);
75 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
75 elm_run(); 76 elm_run();
76 elm_exit(); 77 elm_exit();
77 gui_context_del(ctx); 78 gui_context_del(ctx);