change this null check to a safety check

SVN revision: 77717
This commit is contained in:
Mike Blumenkrantz 2012-10-10 08:04:26 +00:00
parent cc188bee3a
commit 20c1c1a4c7
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ _xkb_update_icon(int cur_group)
const char *name = NULL;
int grp = -1;
if (!e_config->xkb.used_layouts) return;
EINA_SAFETY_ON_NULL_RETURN(e_config->xkb.used_layouts);
//INF("ui: %d", cur_group);
EINA_LIST_FOREACH(e_config->xkb.used_layouts, l, layout)
{