summaryrefslogtreecommitdiff
path: root/src/bin/edje
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-08-18 21:05:51 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-10-01 20:10:54 +0900
commitc0f887b42965121a0964d3b8a319cafb8b33d1fb (patch)
tree45ea43ad72828c801adf949226865949624ed272 /src/bin/edje
parentbb9fdad7c20d273d382ffe096aa3630534a54647 (diff)
Edje: Move internal struct filter around (refactor)
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/edje_cc_handlers.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 7b22c6b069..5a56fb29ee 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -7048,15 +7048,15 @@ st_collections_group_parts_part_description_inherit(void)
7048 ted->text.font.str = STRDUP(ted->text.font.str); 7048 ted->text.font.str = STRDUP(ted->text.font.str);
7049 7049
7050 /* Filters stuff */ 7050 /* Filters stuff */
7051 ted->text.filter.code = STRDUP(ted->text.filter.code); 7051 ted->filter.code = STRDUP(ted->filter.code);
7052 if (ted->text.filter.code) 7052 if (ted->filter.code)
7053 { 7053 {
7054 Eina_List *list, *l; 7054 Eina_List *list, *l;
7055 const char *name; 7055 const char *name;
7056 list = ted->text.filter.sources; 7056 list = ted->filter.sources;
7057 ted->text.filter.sources = NULL; 7057 ted->filter.sources = NULL;
7058 EINA_LIST_FOREACH(list, l, name) 7058 EINA_LIST_FOREACH(list, l, name)
7059 ted->text.filter.sources = eina_list_append(ted->text.filter.sources, STRDUP(name)); 7059 ted->filter.sources = eina_list_append(ted->filter.sources, STRDUP(name));
7060 } 7060 }
7061 7061
7062 data_queue_copied_part_nest_lookup(pc, &(tparent->text.id_source), &(ted->text.id_source), &ted->text.id_source_part); 7062 data_queue_copied_part_nest_lookup(pc, &(tparent->text.id_source), &(ted->text.id_source), &ted->text.id_source_part);
@@ -11896,9 +11896,9 @@ st_collections_group_parts_part_description_filter_code(void)
11896 check_arg_count(1); 11896 check_arg_count(1);
11897 11897
11898 if (current_part->type == EDJE_PART_TYPE_TEXT) 11898 if (current_part->type == EDJE_PART_TYPE_TEXT)
11899 filter = &(((Edje_Part_Description_Text *)current_desc)->text.filter); 11899 filter = &(((Edje_Part_Description_Text *)current_desc)->filter);
11900 else if (current_part->type == EDJE_PART_TYPE_IMAGE) 11900 else if (current_part->type == EDJE_PART_TYPE_IMAGE)
11901 filter = &(((Edje_Part_Description_Image *)current_desc)->image.filter); 11901 filter = &(((Edje_Part_Description_Image *)current_desc)->filter);
11902 else 11902 else
11903 { 11903 {
11904 ERR("parse error %s:%i. filter set for non-TEXT and non-IMAGE part.", 11904 ERR("parse error %s:%i. filter set for non-TEXT and non-IMAGE part.",
@@ -11937,9 +11937,9 @@ st_collections_group_parts_part_description_filter_source(void)
11937 "abcdefghijklmnopqrstuvwxyzABCDEFGHJIKLMNOPQRSTUVWXYZ0123456789_"; 11937 "abcdefghijklmnopqrstuvwxyzABCDEFGHJIKLMNOPQRSTUVWXYZ0123456789_";
11938 11938
11939 if (current_part->type == EDJE_PART_TYPE_TEXT) 11939 if (current_part->type == EDJE_PART_TYPE_TEXT)
11940 filter = &(((Edje_Part_Description_Text *)current_desc)->text.filter); 11940 filter = &(((Edje_Part_Description_Text *)current_desc)->filter);
11941 else if (current_part->type == EDJE_PART_TYPE_IMAGE) 11941 else if (current_part->type == EDJE_PART_TYPE_IMAGE)
11942 filter = &(((Edje_Part_Description_Image *)current_desc)->image.filter); 11942 filter = &(((Edje_Part_Description_Image *)current_desc)->filter);
11943 else 11943 else
11944 { 11944 {
11945 ERR("parse error %s:%i. filter set for non-TEXT and non-IMAGE part.", 11945 ERR("parse error %s:%i. filter set for non-TEXT and non-IMAGE part.",
@@ -12030,9 +12030,9 @@ st_collections_group_parts_part_description_filter_data(void)
12030 unsigned k; 12030 unsigned k;
12031 12031
12032 if (current_part->type == EDJE_PART_TYPE_TEXT) 12032 if (current_part->type == EDJE_PART_TYPE_TEXT)
12033 filter = &(((Edje_Part_Description_Text *)current_desc)->text.filter); 12033 filter = &(((Edje_Part_Description_Text *)current_desc)->filter);
12034 else if (current_part->type == EDJE_PART_TYPE_IMAGE) 12034 else if (current_part->type == EDJE_PART_TYPE_IMAGE)
12035 filter = &(((Edje_Part_Description_Image *)current_desc)->image.filter); 12035 filter = &(((Edje_Part_Description_Image *)current_desc)->filter);
12036 else 12036 else
12037 { 12037 {
12038 ERR("parse error %s:%i. filter set for non-TEXT and non-IMAGE part.", 12038 ERR("parse error %s:%i. filter set for non-TEXT and non-IMAGE part.",