Don't put nulls in the list of programs, makes little sense.

SVN revision: 51863
This commit is contained in:
Iván Briano 2010-09-03 14:37:42 +00:00
parent b3dd293384
commit 787a0d9c61
1 changed files with 3 additions and 0 deletions

View File

@ -4959,6 +4959,9 @@ edje_edit_programs_list_get(Evas_Object *obj)
Edje_Program *epr;
epr = ed->table_programs[i];
/* XXX: bad, we miss programs this way, but since you can't access
* them in any way without a name, better ignore them. */
if (!epr->name) continue;
progs = eina_list_append(progs, eina_stringshare_add(epr->name));
}