projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa3e1dc
)
elementary: use efl_exit to leave the mainloop instead of direct use of exit.
author
Cedric BAIL
<cedric@osg.samsung.com>
Tue, 7 Nov 2017 23:49:38 +0000
(15:49 -0800)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Wed, 8 Nov 2017 00:08:39 +0000
(16:08 -0800)
src/bin/elementary/test.c
patch
|
blob
|
history
diff --git
a/src/bin/elementary/test.c
b/src/bin/elementary/test.c
index
7b47e3c
..
57b1916
100644
(file)
--- 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)
* You can also set the title of the window at the same time.
* ex) win = elm_win_util_standard_add("main", "Elementary Tests"); */
win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (!win) exit(1);
+ if (!win)
+ {
+ efl_exit(1);
+ return ;
+ }
explode_win_enable(win);
/* Set the title of the window - This is in the titlebar. */