diff options
Diffstat (limited to 'e-util/e-event.c')
-rw-r--r-- | e-util/e-event.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/e-util/e-event.c b/e-util/e-event.c index 9510a6ce74..e02cee4829 100644 --- a/e-util/e-event.c +++ b/e-util/e-event.c @@ -260,7 +260,10 @@ e_event_emit(EEvent *emp, const char *id, EEventTarget *target) d(printf("emit event %s\n", id)); - g_assert(emp->target == NULL); + if(emp->target == NULL){ + g_warning ("Event already in progress.\n"); + return; + } emp->target = target; events = p->sorted; |