Updated copyright notice. Added event handler code.
[ruby-ecore.git] / src / ecore_job / rb_job.c
index e6d93f0c0a664ae2ebc96409802ad48090f576c2..71fe1e3143308f28ed545fc34396b65c6f0c3447 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * $Id: rb_job.c 60 2004-08-10 14:12:36Z tilman $
+ * $Id: rb_job.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
@@ -75,6 +75,7 @@ static VALUE c_new (VALUE klass)
        ecore_init ();
 
        job->callback = rb_block_proc ();
+       job->deleted = false;
        job->real = ecore_job_add (on_job, job);
 
        rb_obj_call_init (self, 0, NULL);