Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
edje_embryo.c
Log Message:
set walking_actions to 1 while we're walking the actions list. this fixes an
embryo induced segfault, horray.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_embryo.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -3 -r1.44 -r1.45
--- edje_embryo.c 10 Dec 2004 15:45:31 -0000 1.44
+++ edje_embryo.c 4 Oct 2005 18:01:09 -0000 1.45
@@ -729,12 +729,18 @@
ed = embryo_program_data_get(ep);
program_id = params[1];
if (program_id < 0) return 0;
+
+ ed->walking_actions = 1;
+
for (l = ed->actions; l; l = l->next)
{
runp = l->data;
if (program_id == runp->program->id)
_edje_program_end(ed, runp);
}
+
+ ed->walking_actions = 0;
+
return 0;
}
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs