fix deleting of signal callbacks with empty strings for signal or source (they're stored internally as NULL's)

SVN revision: 28344
This commit is contained in:
rephorm 2007-02-13 09:58:49 +00:00 committed by rephorm
parent c6652505b7
commit 418bcfd1d6
1 changed files with 4 additions and 2 deletions

View File

@ -93,8 +93,10 @@ edje_object_signal_callback_del(Evas_Object *obj, const char *emission, const ch
escb = l->data; escb = l->data;
if ((escb->func == func) && if ((escb->func == func) &&
(!strcmp(escb->signal, emission)) && ((!escb->signal && !emission[0]) ||
(!strcmp(escb->source, source))) (escb->signal && !strcmp(escb->signal, emission))) &&
((!escb->source && !source[0]) ||
(escb->source && !strcmp(escb->source, source))))
{ {
void *data; void *data;