rimmed pushed a commit to branch efl-1.16.

http://git.enlightenment.org/core/efl.git/commit/?id=14cbbccb3902cf964410e51a3035cd83e4864afc

commit 14cbbccb3902cf964410e51a3035cd83e4864afc
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Tue Jan 19 15:47:23 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 8d09e45..f989e82 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -9156,8 +9156,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;
@@ -9178,8 +9176,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