summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-11-07 15:49:38 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-11-07 16:08:39 -0800
commite729d6b994ef27e4299ac3719da976855a8db907 (patch)
treefaf3084abbf37e335903e8ff27fffaf6621b372a
parentfa3e1dc784275cbcd2f0002cf30525528d5a2bc3 (diff)
elementary: use efl_exit to leave the mainloop instead of direct use of exit.
-rw-r--r--src/bin/elementary/test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/elementary/test.c b/src/bin/elementary/test.c
index 7b47e3c01f..57b1916d53 100644
--- a/src/bin/elementary/test.c
+++ b/src/bin/elementary/test.c
@@ -572,7 +572,11 @@ my_win_main(const char *autorun, Eina_Bool test_win_only)
572 * You can also set the title of the window at the same time. 572 * You can also set the title of the window at the same time.
573 * ex) win = elm_win_util_standard_add("main", "Elementary Tests"); */ 573 * ex) win = elm_win_util_standard_add("main", "Elementary Tests"); */
574 win = elm_win_add(NULL, "main", ELM_WIN_BASIC); 574 win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
575 if (!win) exit(1); 575 if (!win)
576 {
577 efl_exit(1);
578 return ;
579 }
576 580
577 explode_win_enable(win); 581 explode_win_enable(win);
578 /* Set the title of the window - This is in the titlebar. */ 582 /* Set the title of the window - This is in the titlebar. */