Call other event handlers, too.
[ruby-ecore.git] / src / ecore / rb_timer.c
index 55b4a393bb74a86b3ef1954f4a22c6d5de5fedc2..28ef41c6c1010d9e7056e6db00a69d7edebba993 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * $Id: rb_timer.c 60 2004-08-10 14:12:36Z tilman $
+ * $Id: rb_timer.c 77 2004-08-19 17:39:29Z tilman $
  *
- * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
+ * Copyright (C) 2004 ruby-ecore team (see AUTHORS)
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -83,6 +83,7 @@ static VALUE c_new (VALUE klass, VALUE interval)
        ecore_init ();
 
        timer->callback = rb_block_proc ();
+       timer->deleted = false;
        timer->real = ecore_timer_add (NUM2DBL (interval),
                                       on_timer, timer);