forked from enlightenment/efl
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:
parent
936259de01
commit
8e02c9541c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue