projects
/
ruby-ecore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f7510ef
)
Removed an unused variable.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Tue, 14 Feb 2006 19:02:53 +0000
(19:02 +0000)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Tue, 14 Feb 2006 19:02:53 +0000
(19:02 +0000)
src/ecore/rb_event_handler.c
patch
|
blob
|
history
diff --git
a/src/ecore/rb_event_handler.c
b/src/ecore/rb_event_handler.c
index 8e7312926373a0f8ec9b8ad3efceec518d736f8d..f296ae26255655b8f0f96966738b841fd2368f29 100644
(file)
--- a/
src/ecore/rb_event_handler.c
+++ b/
src/ecore/rb_event_handler.c
@@
-1,5
+1,5
@@
/*
/*
- * $Id: rb_event_handler.c 3
59 2006-02-12 15:51:58
Z tilman $
+ * $Id: rb_event_handler.c 3
63 2006-02-14 19:02:53
Z tilman $
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
@@
-131,7
+131,6
@@
static int on_ecore_event (void *data, int type, void *event)
RbEventHandler *h = NULL;
VALUE handler, klass, obj, tmp, res;
int handler_type, len, i;
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
/* instantiate the event object
* first, find the class we're gonna use
@@
-154,7
+153,6
@@
static int on_ecore_event (void *data, int type, void *event)
if (handler_type == type) {
Data_Get_Struct (handler, RbEventHandler, h);
res = rb_funcall (h->callback, rb_intern ("call"), 1, obj);
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
/* if the block returned false, don't call the other
* event handlers