diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c index fb5b54690d..7a52880f77 100644 --- a/src/lib/edje/edje_edit.c +++ b/src/lib/edje/edje_edit.c @@ -6182,22 +6182,6 @@ edje_edit_state_color_class_set(Evas_Object *obj, const char *part, const char * { if (strcmp(cc->name, color_class) == 0) { - pd->color.r = cc->r; - pd->color.g = cc->g; - pd->color.b = cc->b; - pd->color.a = cc->a; - pd->color2.r = cc->r2; - pd->color2.g = cc->g2; - pd->color2.b = cc->b2; - pd->color2.a = cc->a2; - if ((rp->type == EDJE_PART_TYPE_TEXT) || (rp->type == EDJE_PART_TYPE_TEXTBLOCK)) - { - Edje_Part_Description_Text *txt = (Edje_Part_Description_Text *)pd; - txt->text.color3.r = cc->r3; - txt->text.color3.g = cc->g3; - txt->text.color3.b = cc->b3; - txt->text.color3.a = cc->a3; - } pd->color_class = (char *)eina_stringshare_add(color_class); edje_object_calc_force(obj); return EINA_TRUE;