projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c665250
)
fix deleting of signal callbacks with empty strings for signal or source (they're...
author
rephorm
<rephorm>
Tue, 13 Feb 2007 09:58:49 +0000
(09:58 +0000)
committer
rephorm
<rephorm@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 13 Feb 2007 09:58:49 +0000
(09:58 +0000)
SVN revision: 28344
legacy/edje/src/lib/edje_program.c
patch
|
blob
|
history
diff --git
a/legacy/edje/src/lib/edje_program.c
b/legacy/edje/src/lib/edje_program.c
index
eff9015
..
d9c3c69
100644
(file)
--- a/
legacy/edje/src/lib/edje_program.c
+++ b/
legacy/edje/src/lib/edje_program.c
@@
-93,8
+93,10
@@
edje_object_signal_callback_del(Evas_Object *obj, const char *emission, const ch
escb = l->data;
if ((escb->func == func) &&
- (!strcmp(escb->signal, emission)) &&
- (!strcmp(escb->source, source)))
+ ((!escb->signal && !emission[0]) ||
+ (escb->signal && !strcmp(escb->signal, emission))) &&
+ ((!escb->source && !source[0]) ||
+ (escb->source && !strcmp(escb->source, source))))
{
void *data;