summaryrefslogtreecommitdiff
path: root/legacy/edje/src/lib/edje_text.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-08-09 17:34:03 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-08-09 17:34:03 +0000
commit9ecc1354c647f6915c0e6b2671e4f601878e6c78 (patch)
treea41cb8cbbac07df849af50862ca4363b69c662a0 /legacy/edje/src/lib/edje_text.c
parent4ce36d937e613f2fba453649daf5b049d4c98f4e (diff)
* edje: new file format.
WARNING ! WARNING ! WARNING ! WARNING ! Old file format is not readable by edje directly. If you have old edje file that you want to convert, use edje_convert. Their is no way back. Recompile your file as soon as possible. Please report any issue you spot as this is a huge and needed change. SVN revision: 50936
Diffstat (limited to 'legacy/edje/src/lib/edje_text.c')
-rw-r--r--legacy/edje/src/lib/edje_text.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/legacy/edje/src/lib/edje_text.c b/legacy/edje/src/lib/edje_text.c
index 3ef0312..f45436c 100644
--- a/legacy/edje/src/lib/edje_text.c
+++ b/legacy/edje/src/lib/edje_text.c
@@ -48,9 +48,9 @@ _edje_text_part_on_add(Edje *ed, Edje_Real_Part *ep)
48 _edje_text_class_member_add(ed, desc->text.text_class); 48 _edje_text_class_member_add(ed, desc->text.text_class);
49 49
50 /* If any other classes exist add them */ 50 /* If any other classes exist add them */
51 for (i = 0; i < pt->other_count; ++i) 51 for (i = 0; i < pt->other.desc_count; ++i)
52 { 52 {
53 desc = (Edje_Part_Description_Text *) pt->other_desc[i]; 53 desc = (Edje_Part_Description_Text *) pt->other.desc[i];
54 if ((desc) && (desc->text.text_class)) 54 if ((desc) && (desc->text.text_class))
55 _edje_text_class_member_add(ed, desc->text.text_class); 55 _edje_text_class_member_add(ed, desc->text.text_class);
56 } 56 }
@@ -70,9 +70,9 @@ _edje_text_part_on_del(Edje *ed, Edje_Part *pt)
70 if ((pt->default_desc) && (desc->text.text_class)) 70 if ((pt->default_desc) && (desc->text.text_class))
71 _edje_text_class_member_del(ed, desc->text.text_class); 71 _edje_text_class_member_del(ed, desc->text.text_class);
72 72
73 for (i = 0; i < pt->other_count; ++i) 73 for (i = 0; i < pt->other.desc_count; ++i)
74 { 74 {
75 desc = (Edje_Part_Description_Text *) pt->other_desc[i]; 75 desc = (Edje_Part_Description_Text *) pt->other.desc[i];
76 if (desc->text.text_class) 76 if (desc->text.text_class)
77 _edje_text_class_member_del(ed, desc->text.text_class); 77 _edje_text_class_member_del(ed, desc->text.text_class);
78 } 78 }