devilhorns pushed a commit to branch master.
commit 41b8f03f9083cef42d063747f421551e5ee3ed74
Author: Chris Michael <[email protected]>
Date: Tue Jul 23 07:31:23 2013 +0100
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 <[email protected]>
---
src/examples/conformant_example_02.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/examples/conformant_example_02.c
b/src/examples/conformant_example_02.c
index e1208ee..e901ba6 100644
--- a/src/examples/conformant_example_02.c
+++ b/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);
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk