forked from enlightenment/enlightenment
don't crash in stupid e_module dialog hack
This commit is contained in:
parent
4aa4c64508
commit
566591581b
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue