From ed59f8589e93b02748816c97db6c394ae2d2a516 Mon Sep 17 00:00:00 2001 From: Vitalii Vorobiov Date: Tue, 23 Feb 2016 18:23:36 +0000 Subject: [PATCH] Edje_Edit: allow to set NULL as text_class (unset text_class) into part's state --- src/lib/edje/edje_edit.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c index 582fff97c2..ff4f38ecd2 100644 --- a/src/lib/edje/edje_edit.c +++ b/src/lib/edje/edje_edit.c @@ -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) &&