summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-01-30 15:49:15 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-01-30 15:49:15 -0500
commit566591581be4e3a0140218f19872114060938630 (patch)
treeaf09266e60b8e88c2ebe8193eb67709ebb219c97
parent4aa4c64508a6ffe8bedfc0fa7cec41f2f0817b38 (diff)
downloadenlightenment-566591581be4e3a0140218f19872114060938630.tar.gz
don't crash in stupid e_module dialog hack
-rw-r--r--src/bin/e_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_module.c b/src/bin/e_module.c
index b7b92258c5..8940c242dd 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");