summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVyacheslav Reutskiy <v.reutskiy@samsung.com>2015-07-08 14:37:26 +0300
committerVyacheslav Reutskiy <v.reutskiy@samsung.com>2015-07-08 15:24:37 +0300
commit7f3b54d9246a24946df1ceefd05ee0150cf1008a (patch)
treec3c52e10e24c1555c60246c4ac418f2d19b7f3b9
parentc31a57db00173689c60543a9838479a16b93ac91 (diff)
edje edit: don't set the color_class color as main
@fix
-rw-r--r--src/lib/edje/edje_edit.c16
1 files changed, 0 insertions, 16 deletions
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 *
6182 { 6182 {
6183 if (strcmp(cc->name, color_class) == 0) 6183 if (strcmp(cc->name, color_class) == 0)
6184 { 6184 {
6185 pd->color.r = cc->r;
6186 pd->color.g = cc->g;
6187 pd->color.b = cc->b;
6188 pd->color.a = cc->a;
6189 pd->color2.r = cc->r2;
6190 pd->color2.g = cc->g2;
6191 pd->color2.b = cc->b2;
6192 pd->color2.a = cc->a2;
6193 if ((rp->type == EDJE_PART_TYPE_TEXT) || (rp->type == EDJE_PART_TYPE_TEXTBLOCK))
6194 {
6195 Edje_Part_Description_Text *txt = (Edje_Part_Description_Text *)pd;
6196 txt->text.color3.r = cc->r3;
6197 txt->text.color3.g = cc->g3;
6198 txt->text.color3.b = cc->b3;
6199 txt->text.color3.a = cc->a3;
6200 }
6201 pd->color_class = (char *)eina_stringshare_add(color_class); 6185 pd->color_class = (char *)eina_stringshare_add(color_class);
6202 edje_object_calc_force(obj); 6186 edje_object_calc_force(obj);
6203 return EINA_TRUE; 6187 return EINA_TRUE;