oooppps. NULL check was not performed => strange items in the list :)

SVN revision: 22967
This commit is contained in:
sndev 2006-05-28 11:28:14 +00:00 committed by sndev
parent 7370ced84f
commit 5053c4367e
1 changed files with 3 additions and 3 deletions

View File

@ -422,9 +422,9 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
if (cc->func.icon)
icon = cc->func.icon(evas);
}
e_widget_ilist_append(oi, icon, label,
_cb_select_client_instance,
cfdata, (char *)cf_gcc->name);
if (label)
e_widget_ilist_append(oi, icon, label, _cb_select_client_instance,
cfdata, (char *)cf_gcc->name);
}
e_widget_ilist_go(oi);