Enlightenment CVS committal
Author : rephorm
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
edje_text.c
Log Message:
don't free color class stuff in text_on_del, it gets done in
color_class_on_del...
also, it seems as though default descriptions at least are shared between
objects of the same group, so when this set the color_class to NULL, all other
objects lost their colors.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_text.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- edje_text.c 14 Jan 2006 15:30:00 -0000 1.50
+++ edje_text.c 29 Jan 2006 16:50:30 -0000 1.51
@@ -67,14 +67,7 @@
evas_stringshare_del(pt->default_desc->text.text_class);
pt->default_desc->text.text_class = NULL;
}
-
- if (pt->default_desc && pt->default_desc->color_class)
- {
- _edje_color_class_member_del(ed, pt->default_desc->color_class);
- evas_stringshare_del(pt->default_desc->color_class);
- pt->default_desc->color_class = NULL;
- }
-
+
for (tmp = pt->other_desc; tmp; tmp = tmp->next)
{
Edje_Part_Description *desc;
@@ -86,13 +79,6 @@
evas_stringshare_del(desc->text.text_class);
desc->text.text_class = NULL;
}
-
- if (desc->color_class)
- {
- _edje_color_class_member_del(ed, desc->color_class);
- evas_stringshare_del(desc->color_class);
- desc->color_class = NULL;
- }
}
}
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs