summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavio Ceolin <flavio.ceolin@gmail.com>2014-10-29 23:22:05 -0200
committerFlavio Ceolin <flavio.ceolin@gmail.com>2014-10-29 23:57:10 -0200
commit49aea10d7d49f00230a5e4a56b9c3736f12efe0f (patch)
tree5c887dea8203efd24dc196c881043f4246c029c8
parent1324b2b07d36a5fed73837c769b0d3af57dff283 (diff)
emixer: Exiting if fail to create the window
-rw-r--r--src/bin/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 2077176..179444c 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -37,6 +37,7 @@ elm_main(int argc EINA_UNUSED, char *argv[] EINA_UNUSED)
37 goto end; 37 goto end;
38 38
39 win = main_window_add(); 39 win = main_window_add();
40 EINA_SAFETY_ON_NULL_GOTO(win, end);
40 evas_object_resize(win, DEFAULT_WIDTH, DEFAULT_HEIGHT); 41 evas_object_resize(win, DEFAULT_WIDTH, DEFAULT_HEIGHT);
41 evas_object_show(win); 42 evas_object_show(win);
42 elm_run(); 43 elm_run();