/*
- * $Id: rb_event_handler.c 79 2004-08-19 22:20:10Z 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;
}
/*
- * $Id: rb_event_handler.h 86 2004-08-22 13:41:35Z tilman $
+ * $Id: rb_event_handler.h 107 2004-08-29 18:37:58Z tilman $
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
#define ADD_EVENT(mod, prefix, constname, clsname, obj) \
rb_define_const ((mod), #constname, \
INT2FIX (prefix##constname)); \
- ecore_event_handler_add (prefix##constname, on_ecore_event, \
- NULL); \
\
(obj) = rb_define_class_under ((mod), (clsname), cEcoreEvent); \
rb_define_private_method (rb_singleton_class ((obj)), \