edje_edit: program's source and signal CAN be NULL

Or else user can't remove them, only by writing source/signal like "" or some
gibberish which is still getting interprettered as source and signal
This commit is contained in:
Vitalii Vorobiov 2016-03-18 14:00:51 +02:00
parent 72363b4777
commit e64c30caab
1 changed files with 0 additions and 4 deletions

View File

@ -9674,8 +9674,6 @@ edje_edit_program_source_set(Evas_Object *obj, const char *prog, const char *sou
GET_ED_OR_RETURN(EINA_FALSE);
GET_EPR_OR_RETURN(EINA_FALSE);
if (!source) return EINA_FALSE;
/* Remove from program array */
_edje_program_remove(ed->collection, epr);
@ -9848,8 +9846,6 @@ edje_edit_program_signal_set(Evas_Object *obj, const char *prog, const char *sig
GET_ED_OR_RETURN(EINA_FALSE);
GET_EPR_OR_RETURN(EINA_FALSE);
if (!sig) return EINA_FALSE;
/* Remove from program array */
_edje_program_remove(ed->collection, epr);