projects
/
apps
/
native
/
starter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00c60b5
)
Prevent crash error(check wayland display)
01/59301/2
accepted/tizen/wearable/20160213.091321
submit/tizen_wearable/20160212.084910
author
gs86.lee
<gs86.lee@samsung.com>
Fri, 12 Feb 2016 08:41:16 +0000
(17:41 +0900)
committer
gs86.lee
<gs86.lee@samsung.com>
Fri, 12 Feb 2016 08:47:41 +0000
(17:47 +0900)
Change-Id: If102e8c7c0d91d954300b1670909e5717b0279b7
src/wearable/starter.c
patch
|
blob
|
history
diff --git
a/src/wearable/starter.c
b/src/wearable/starter.c
index
39151f1
..
424e2ab
100644
(file)
--- a/
src/wearable/starter.c
+++ b/
src/wearable/starter.c
@@
-177,9
+177,23
@@
static void _fini(void)
int main(int argc, char *argv[])
{
+ int ret = 0;
+
_D("starter is launched..!!");
- elm_init(argc, argv);
+ ret = elm_init(argc, argv);
+ if (ret != 1) {
+ _E("elm_init() failed : %d", ret);
+ return -1;
+ }
+
+ ret = ecore_wl_init();
+ if (ret == 0) {
+ _E("ecore_wl_init() failed : %d", ret);
+ elm_shutdown();
+ return -1;
+ }
+
_init();
elm_run();