Edje_Edit: allow to set NULL as text_class (unset text_class) into part's state
authorVitalii Vorobiov <vi.vorobiov@samsung.com>
Tue, 23 Feb 2016 18:23:36 +0000 (18:23 +0000)
committerVitalii Vorobiov <vi.vorobiov@samsung.com>
Tue, 23 Feb 2016 18:54:04 +0000 (18:54 +0000)
src/lib/edje/edje_edit.c

index 582fff9..ff4f38e 100644 (file)
@@ -8256,7 +8256,6 @@ EAPI Eina_Bool
 edje_edit_state_text_class_set(Evas_Object *obj, const char *part, const char *state, double value, const char *text_class)
 {
    Edje_Part_Description_Text *txt;
-   if (!text_class) return EINA_FALSE;
    GET_PD_OR_RETURN(EINA_FALSE);
 
    if ((rp->part->type != EDJE_PART_TYPE_TEXT) &&