/*
- * $Id: rb_event_handler.c 359 2006-02-12 15:51:58Z tilman $
+ * $Id: rb_event_handler.c 363 2006-02-14 19:02:53Z tilman $
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
RbEventHandler *h = NULL;
VALUE handler, klass, obj, tmp, res;
int handler_type, len, i;
- bool called = false;
/* instantiate the event object
* first, find the class we're gonna use
if (handler_type == type) {
Data_Get_Struct (handler, RbEventHandler, h);
res = rb_funcall (h->callback, rb_intern ("call"), 1, obj);
- called = true;
/* if the block returned false, don't call the other
* event handlers