summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/edje/edje_cc_handlers.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 6a294cb0a8..2268190134 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -6696,13 +6696,13 @@ st_collections_group_parts_part_description_inherit(void)
6696 ted->text.domain = STRDUP(ted->text.domain); 6696 ted->text.domain = STRDUP(ted->text.domain);
6697 ted->text.text_class = STRDUP(ted->text.text_class); 6697 ted->text.text_class = STRDUP(ted->text.text_class);
6698 ted->text.font.str = STRDUP(ted->text.font.str); 6698 ted->text.font.str = STRDUP(ted->text.font.str);
6699 ted->text.filter.str = STRDUP(ted->text.filter.str); 6699 ted->text.filter.code = STRDUP(ted->text.filter.code);
6700 { 6700 {
6701 Eina_List *l; 6701 Eina_List *l;
6702 Eina_Stringshare *name; 6702 Eina_Stringshare *name;
6703 static int part_key = 0; 6703 static int part_key = 0;
6704 6704
6705 EINA_LIST_FOREACH(ted->text.filter_sources, l, name) 6705 EINA_LIST_FOREACH(ted->text.filter.sources, l, name)
6706 data_queue_part_lookup(pc, name, &part_key); 6706 data_queue_part_lookup(pc, name, &part_key);
6707 } 6707 }
6708 6708
@@ -9014,23 +9014,23 @@ st_collections_group_parts_part_description_text_filter(void)
9014 9014
9015 ed = (Edje_Part_Description_Text*) current_desc; 9015 ed = (Edje_Part_Description_Text*) current_desc;
9016 pc = eina_list_data_get(eina_list_last(edje_collections)); 9016 pc = eina_list_data_get(eina_list_last(edje_collections));
9017 if (ed->text.filter.str) 9017 if (ed->text.filter.code)
9018 { 9018 {
9019 EINA_LIST_FREE(ed->text.filter_sources, name) 9019 EINA_LIST_FREE(ed->text.filter.sources, name)
9020 { 9020 {
9021 part_lookup_delete(pc, name, &part_key, NULL); 9021 part_lookup_delete(pc, name, &part_key, NULL);
9022 eina_stringshare_del(name); 9022 eina_stringshare_del(name);
9023 } 9023 }
9024 free((void*)ed->text.filter.str); 9024 free((void*)ed->text.filter.code);
9025 } 9025 }
9026 ed->text.filter_sources = NULL; 9026 ed->text.filter.sources = NULL;
9027 9027
9028 ed->text.filter.str = parse_str(0); 9028 ed->text.filter.code = parse_str(0);
9029 if (!ed->text.filter.str) return; 9029 if (!ed->text.filter.code) return;
9030 9030
9031 // Parse list of buffers that have a source 9031 // Parse list of buffers that have a source
9032 // note: does not support comments 9032 // note: does not support comments
9033 code = strdup(ed->text.filter.str); 9033 code = strdup(ed->text.filter.code);
9034 for (token = strtok(code, ";"); token; token = strtok(NULL, ";")) 9034 for (token = strtok(code, ";"); token; token = strtok(NULL, ";"))
9035 { 9035 {
9036 size_t len; 9036 size_t len;
@@ -9079,7 +9079,7 @@ st_collections_group_parts_part_description_text_filter(void)
9079 } 9079 }
9080 free(code); 9080 free(code);
9081 9081
9082 if (valid) ed->text.filter_sources = sources; 9082 if (valid) ed->text.filter.sources = sources;
9083} 9083}
9084 9084
9085 9085