From 8e02c9541cb23837a7a05f32f99bdf95d48cb628 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 23 Jul 2013 07:31:23 +0100 Subject: [PATCH] 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 --- legacy/elementary/src/examples/conformant_example_02.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/legacy/elementary/src/examples/conformant_example_02.c b/legacy/elementary/src/examples/conformant_example_02.c index e1208eec2d..e901ba66f2 100644 --- a/legacy/elementary/src/examples/conformant_example_02.c +++ b/legacy/elementary/src/examples/conformant_example_02.c @@ -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);