rimmed pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7f4f215cd0beb7c8a46150dbe9c4a6e47c860ad1

commit 7f4f215cd0beb7c8a46150dbe9c4a6e47c860ad1
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Tue Jan 19 15:44:34 2016 +0200

    edje/edje_edit: make posible to unset the program filter part and state
    
    @fix
---
 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 f4f282a..a9ec942 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -9153,8 +9153,6 @@ edje_edit_program_filter_part_set(Evas_Object *obj, const 
char *prog, const char
    GET_ED_OR_RETURN(EINA_FALSE);
    GET_EPR_OR_RETURN(EINA_FALSE);
 
-   if (!filter_part) return EINA_FALSE;
-
    _edje_if_string_replace(ed, &epr->filter.part, filter_part);
 
    return EINA_TRUE;
@@ -9175,8 +9173,6 @@ edje_edit_program_filter_state_set(Evas_Object *obj, 
const char *prog, const cha
    GET_ED_OR_RETURN(EINA_FALSE);
    GET_EPR_OR_RETURN(EINA_FALSE);
 
-   if (!filter_state) return EINA_FALSE;
-
    _edje_if_string_replace(ed, &epr->filter.state, filter_state);
 
    return EINA_TRUE;

-- 


Reply via email to