forked from enlightenment/efl
Don't put nulls in the list of programs, makes little sense.
SVN revision: 51863
This commit is contained in:
parent
b3dd293384
commit
787a0d9c61
|
@ -4959,6 +4959,9 @@ edje_edit_programs_list_get(Evas_Object *obj)
|
||||||
Edje_Program *epr;
|
Edje_Program *epr;
|
||||||
|
|
||||||
epr = ed->table_programs[i];
|
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));
|
progs = eina_list_append(progs, eina_stringshare_add(epr->name));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue