Revision: 10668 http://pure-data.svn.sourceforge.net/pure-data/?rev=10668&view=rev Author: zmoelnig Date: 2009-01-28 18:57:42 +0000 (Wed, 28 Jan 2009)
Log Message: ----------- avoid double triggering
Modified Paths: -------------- trunk/externals/iem/iemguts/src/canvasdelete.c
Modified: trunk/externals/iem/iemguts/src/canvasdelete.c =================================================================== --- trunk/externals/iem/iemguts/src/canvasdelete.c 2009-01-28 17:16:28 UTC (rev 10667) +++ trunk/externals/iem/iemguts/src/canvasdelete.c 2009-01-28 18:57:42 UTC (rev 10668) @@ -51,6 +51,11 @@ int x1=0, y1=0, width=0, height=0; t_atom alist[2];
+ if(x->x_clock) { + pd_error(x, "deletion already scheduled"); + return; + } + if(NULL==x->x_glist || NULL==x->x_gobj)return;
x->x_clock=clock_new(x, (t_method)canvasdelete_doit);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.