devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=0122bc167cc433b7c993a1e5fa7f0c85bd536c73

commit 0122bc167cc433b7c993a1e5fa7f0c85bd536c73
Author: Chris Michael <[email protected]>
Date:   Tue Jul 26 13:00:33 2016 -0400

    wl_fb: Check that e_comp_wl_init does not fail.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/wl_fb/e_mod_main.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/modules/wl_fb/e_mod_main.c b/src/modules/wl_fb/e_mod_main.c
index cfbdef2..6bb7206 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);
 

-- 


Reply via email to