furrymyad pushed a commit to branch efl-1.16.

http://git.enlightenment.org/core/efl.git/commit/?id=84f160a0c9b48b55df8c68d57aac9b33f1f86376

commit 84f160a0c9b48b55df8c68d57aac9b33f1f86376
Author: Vitalii Vorobiov <[email protected]>
Date:   Fri Mar 18 14:00:51 2016 +0200

    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
---
 src/lib/edje/edje_edit.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 01ef06a..b8fc2d4 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -9360,8 +9360,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);
 
@@ -9534,8 +9532,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);
 

-- 


Reply via email to