forked from enlightenment/efl
Check the return of ecore_x_init and error out if that fails.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
ee037d3586
commit
9103b7e2e3
|
@ -767,7 +767,12 @@ _ecore_imf_xim_init(void)
|
|||
|
||||
DBG(" ");
|
||||
|
||||
ecore_x_init(NULL);
|
||||
if (!ecore_x_init(NULL))
|
||||
{
|
||||
eina_shutdown();
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
ecore_imf_module_register(&xim_info,
|
||||
xim_imf_module_create,
|
||||
xim_imf_module_exit);
|
||||
|
|
Loading…
Reference in New Issue