diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/canvasdelete.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/canvasdelete.c b/src/canvasdelete.c index f8b38c0..62a9bf6 100644 --- a/src/canvasdelete.c +++ b/src/canvasdelete.c @@ -51,6 +51,11 @@ static void canvasdelete_bang(t_canvasdelete *x) 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); |