Enlightenment CVS committal Author : raster Project : e17 Module : libs/edje
Dir : e17/libs/edje/src/bin Modified Files: edje_cc_handlers.c Log Message: dup tween list properly :) and dup lookups on text stuff =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_handlers.c,v retrieving revision 1.44 retrieving revision 1.45 diff -u -3 -r1.44 -r1.45 --- edje_cc_handlers.c 19 Oct 2004 17:21:13 -0000 1.44 +++ edje_cc_handlers.c 20 Oct 2004 14:26:06 -0000 1.45 @@ -844,7 +844,15 @@ ed->image.tween_list = NULL; for (l = parent->image.tween_list; l; l = l->next) - ed->image.tween_list = evas_list_append(ed->image.tween_list, l->data); + { + Edje_Part_Image_Id *iid, *iid_new; + + iid = l->data; + iid_new = mem_alloc(SZ(Edje_Part_Image_Id)); + ed->image.tween_list = evas_list_append(ed->image.tween_list, iid_new); + data_queue_image_slave_lookup(&(iid->id), &(iid_new->id)); + ed->image.tween_list = evas_list_append(ed->image.tween_list, iid_new); + } #define STRDUP(x) x ? strdup(x) : NULL @@ -852,8 +860,10 @@ ed->text.text = STRDUP(ed->text.text); ed->text.text_class = STRDUP(ed->text.text_class); ed->text.font = STRDUP(ed->text.font); - #undef STRDUP + + data_queue_part_slave_lookup(&(parent->text.id_source), &(ed->text.id_source)); + data_queue_part_slave_lookup(&(parent->text.id_text_source), &(ed->text.id_text_source)); } static void ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs