Add elm quit policy to conformant_example_02.

NB: In the future, can we please add this to any new examples also ?
so that we do not have to waste time chasing down stupid phab tickets
about apps not closing when the 'X' is pressed...

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-07-23 07:31:23 +01:00
parent 936259de01
commit 8e02c9541c
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ elm_main(int argc, char **argv)
{
Evas_Object *win, *conform, *btn, *bx, *en;
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
win = elm_win_util_standard_add("conformant", "Conformant Example");
elm_win_autodel_set(win, EINA_TRUE);