summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVitalii Vorobiov <vi.vorobiov@samsung.com>2016-03-18 14:00:51 +0200
committerVitalii Vorobiov <vi.vorobiov@samsung.com>2016-03-18 14:00:51 +0200
commite64c30caab0e9efe8636e1bb3702ef3e75339564 (patch)
tree16a6c6ec33270512d9b838859ad13a319b8cc152 /src
parent72363b4777e3a6e67b22e7dbffcb430ed1f04be7 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/edje/edje_edit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 3934392965..05ed301e4e 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -9674,8 +9674,6 @@ edje_edit_program_source_set(Evas_Object *obj, const char *prog, const char *sou
9674 GET_ED_OR_RETURN(EINA_FALSE); 9674 GET_ED_OR_RETURN(EINA_FALSE);
9675 GET_EPR_OR_RETURN(EINA_FALSE); 9675 GET_EPR_OR_RETURN(EINA_FALSE);
9676 9676
9677 if (!source) return EINA_FALSE;
9678
9679 /* Remove from program array */ 9677 /* Remove from program array */
9680 _edje_program_remove(ed->collection, epr); 9678 _edje_program_remove(ed->collection, epr);
9681 9679
@@ -9848,8 +9846,6 @@ edje_edit_program_signal_set(Evas_Object *obj, const char *prog, const char *sig
9848 GET_ED_OR_RETURN(EINA_FALSE); 9846 GET_ED_OR_RETURN(EINA_FALSE);
9849 GET_EPR_OR_RETURN(EINA_FALSE); 9847 GET_EPR_OR_RETURN(EINA_FALSE);
9850 9848
9851 if (!sig) return EINA_FALSE;
9852
9853 /* Remove from program array */ 9849 /* Remove from program array */
9854 _edje_program_remove(ed->collection, epr); 9850 _edje_program_remove(ed->collection, epr);
9855 9851