/*
- * $Id: rb_event_handler.c 77 2004-08-19 17:39:29Z tilman $
+ * $Id: rb_event_handler.c 107 2004-08-29 18:37:58Z tilman $
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
rb_ary_push (handlers, self);
+ ecore_event_handler_add (t, on_ecore_event, NULL);
+
return self;
}
if (type == ECORE_EVENT_SIGNAL_EXIT && !called)
ecore_main_loop_quit ();
- return 0;
+ /* call other event handlers, too */
+ return 1;
}
VALUE c_ev_generic_init (VALUE self, VALUE event)