diff options
author | Chris Michael <cp.michael@samsung.com> | 2016-07-26 13:00:33 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2016-07-26 13:00:33 -0400 |
commit | 0122bc167cc433b7c993a1e5fa7f0c85bd536c73 (patch) | |
tree | 6ee6d278b046a3fcd3c1bd2b91d33f6eda3a251e | |
parent | ab1c2ed5d128c8a0e3fad1c7499ad511e290073d (diff) | |
download | enlightenment-0122bc167cc433b7c993a1e5fa7f0c85bd536c73.tar.gz |
wl_fb: Check that e_comp_wl_init does not fail.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r-- | src/modules/wl_fb/e_mod_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/wl_fb/e_mod_main.c b/src/modules/wl_fb/e_mod_main.c index cfbdef23be..6bb7206d2a 100644 --- a/src/modules/wl_fb/e_mod_main.c +++ b/src/modules/wl_fb/e_mod_main.c @@ -35,7 +35,9 @@ e_modapi_init(E_Module *m) screen->h = h; e_xinerama_screens_set(eina_list_append(NULL, screen)); } - e_comp_wl_init(); + + if (!e_comp_wl_init()) return NULL; + e_comp_canvas_init(w, h); e_comp->pointer = e_pointer_canvas_new(e_comp->ee, EINA_TRUE); |