aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-event.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-29 03:23:00 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-29 03:23:00 +0800
commit4b4991f7db7b48f6d403104d9f5d01bb67405bcc (patch)
treeee11a23e136241627ecc23a541ab26facd0d6bed /e-util/e-event.c
parent24d8eeeac78826238684408ec5ea3e5cf810b019 (diff)
downloadgsoc2013-evolution-4b4991f7db7b48f6d403104d9f5d01bb67405bcc.tar.gz
gsoc2013-evolution-4b4991f7db7b48f6d403104d9f5d01bb67405bcc.tar.zst
gsoc2013-evolution-4b4991f7db7b48f6d403104d9f5d01bb67405bcc.zip
** Fixes bug #451211
svn path=/trunk/; revision=33867
Diffstat (limited to 'e-util/e-event.c')
-rw-r--r--e-util/e-event.c5
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;