Enlightenment CVS committal Author : raster Project : e17 Module : libs/edje
Dir : e17/libs/edje/src/lib Modified Files: edje_embryo.c edje_var.c Log Message: oopsie - NOW its fixed! :) =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_embryo.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- edje_embryo.c 20 Apr 2004 02:07:11 -0000 1.11 +++ edje_embryo.c 23 Apr 2004 08:06:33 -0000 1.12 @@ -744,7 +744,14 @@ printf("EDJE DEBUG: About to run script from progrqm.\n"); embryo_parameter_string_push(ed->collection->script, sig); embryo_parameter_string_push(ed->collection->script, src); - embryo_program_run(ed->collection->script, fn); + { + void *pdata; + + pdata = embryo_program_data_get(ed->collection->script); + embryo_program_data_set(ed->collection->script, ed); + embryo_program_run(ed->collection->script, fn); + embryo_program_data_set(ed->collection->script, pdata); + } printf("EDJE DEBUG: Done.\n"); } } =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_var.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- edje_var.c 2 Apr 2004 09:16:53 -0000 1.2 +++ edje_var.c 23 Apr 2004 08:06:33 -0000 1.3 @@ -22,7 +22,14 @@ ed->var_pool->timers = evas_list_remove(ed->var_pool->timers, et); fn = et->func; free(et); - embryo_program_run(ed->collection->script, fn); + { + void *pdata; + + pdata = embryo_program_data_get(ed->collection->script); + embryo_program_data_set(ed->collection->script, ed); + embryo_program_run(ed->collection->script, fn); + embryo_program_data_set(ed->collection->script, pdata); + } return 0; } @@ -69,7 +76,14 @@ embryo_parameter_cell_push(ed->collection->script, (Embryo_Cell)ea->val); embryo_parameter_cell_push(ed->collection->script, EMBRYO_FLOAT_TO_CELL(v)); fn = ea->func; - embryo_program_run(ed->collection->script, fn); + { + void *pdata; + + pdata = embryo_program_data_get(ed->collection->script); + embryo_program_data_set(ed->collection->script, ed); + embryo_program_run(ed->collection->script, fn); + embryo_program_data_set(ed->collection->script, pdata); + } if (v == 1.0) ea->delete_me = 1; } } ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs