at least handle null im_info & dont crash.

SVN revision: 63105
This commit is contained in:
Carsten Haitzler 2011-09-03 04:47:50 +00:00
parent 27ebb83c4e
commit 098518798f
1 changed files with 6 additions and 0 deletions

View File

@ -926,6 +926,12 @@ get_ic(Ecore_IMF_Context *ctx)
XPoint spot = { 0, 0 };
char *name = NULL;
if (!im_info)
{
EINA_LOG_WARN("Doesn't open XIM.");
return NULL;
}
// supported styles
#if 0
int i;