discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=566591581be4e3a0140218f19872114060938630

commit 566591581be4e3a0140218f19872114060938630
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Jan 30 15:49:15 2015 -0500

    don't crash in stupid e_module dialog hack
---
 src/bin/e_module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_module.c b/src/bin/e_module.c
index b7b9225..8940c24 100644
--- a/src/bin/e_module.c
+++ b/src/bin/e_module.c
@@ -749,7 +749,7 @@ _e_module_dialog_disable_show(const char *title, const char 
*body, E_Module *m)
 
    /* FIXME: Stupid hack for ELM_WIN_DIALOG_BASIC not working in wayland */
 #warning REMOVE STUPID ELM HACK FOR WAYLAND BEFORE RELEASE
-   if (e_comp->comp_type != E_PIXMAP_TYPE_WL)
+   if (e_comp && e_comp->comp_type != E_PIXMAP_TYPE_WL)
      dia = e_dialog_new(NULL, "E", "_module_unload_dialog");
    else
      dia = e_dialog_normal_win_new(NULL, "E", "_module_unload_dialog");

-- 


Reply via email to