remove useless checks on gcc name

SVN revision: 74488
This commit is contained in:
Mike Blumenkrantz 2012-07-27 12:29:55 +00:00
parent 5db9d9fb00
commit df03a272e5
1 changed files with 1 additions and 2 deletions

View File

@ -547,8 +547,7 @@ e_gadcon_populate_class(E_Gadcon *gc, const E_Gadcon_Client_Class *cc)
e_gadcon_layout_freeze(gc->o_container);
EINA_LIST_FOREACH(gc->cf->clients, l, cf_gcc)
{
if ((cf_gcc->name) && (cc->name) &&
(!strcmp(cf_gcc->name, cc->name)) &&
if ((!strcmp(cf_gcc->name, cc->name)) &&
(cf_gcc->id) && (cf_gcc->style))
_e_gadcon_client_populate(gc, cc, cf_gcc);
}