optimization: remove redundant style tag addition. 75/211775/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Fri, 9 Aug 2019 04:55:29 +0000 (13:55 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Fri, 9 Aug 2019 04:55:43 +0000 (13:55 +0900)
These style tags are already been added in reparse() function.
its added again here by mistake.

Change-Id: Ie5cc21b05b3deb0223b76d74bfa6be02e4aed188

src/lib/edje/edje_textblock_styles.c

index ad5a138..bc382f7 100644 (file)
@@ -970,30 +970,6 @@ _edje_textblock_style_parse_and_fix(Edje_File *edf)
                   eina_strbuf_append(txt, "font_size=");
                   eina_strbuf_append(txt, font_size);
                }
-             /***********************************************************************************
-              * TIZEN_ONLY_FEATURE: apply Tizen's color_class features.                         *
-              ***********************************************************************************/
-             if (tag->color)
-               {
-                  eina_strbuf_append(txt, " ");
-                  eina_strbuf_append(txt, "color=");
-                  eina_strbuf_append_escaped(txt, tag->color);
-               }
-             if (tag->outline_color)
-               {
-                  eina_strbuf_append(txt, " ");
-                  eina_strbuf_append(txt, "outline_color=");
-                  eina_strbuf_append_escaped(txt, tag->outline_color);
-               }
-             if (tag->shadow_color)
-               {
-                  eina_strbuf_append(txt, " ");
-                  eina_strbuf_append(txt, "shadow_color=");
-                  eina_strbuf_append_escaped(txt, tag->shadow_color);
-               }
-             /*******
-              * END *
-              *******/
              /* Add font name last to save evas from multiple loads */
              if (tag->font)
                {