aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <poincare@ikezoe.net>2007-07-29 17:20:55 +0800
committerHiroyuki Ikezoe <hiikezoe@src.gnome.org>2007-07-29 17:20:55 +0800
commit67c32e6bd7aed3df0a3f2d9d332c7766c83cb62e (patch)
treee0c775ffe0f64fea96d470dab1ed6c27e4d44499
parentad689cd987b67685ec59e7ee12f01818200a2a12 (diff)
downloadgsoc2013-evolution-67c32e6bd7aed3df0a3f2d9d332c7766c83cb62e.tar
gsoc2013-evolution-67c32e6bd7aed3df0a3f2d9d332c7766c83cb62e.tar.gz
gsoc2013-evolution-67c32e6bd7aed3df0a3f2d9d332c7766c83cb62e.tar.bz2
gsoc2013-evolution-67c32e6bd7aed3df0a3f2d9d332c7766c83cb62e.tar.lz
gsoc2013-evolution-67c32e6bd7aed3df0a3f2d9d332c7766c83cb62e.tar.xz
gsoc2013-evolution-67c32e6bd7aed3df0a3f2d9d332c7766c83cb62e.tar.zst
gsoc2013-evolution-67c32e6bd7aed3df0a3f2d9d332c7766c83cb62e.zip
** Fix for bug #451211.
2007-07-29 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #451211. * e-event.c: (e_event_emit): Replase "==" with "!=" because g_assert() occurs if expression is NOT true. svn path=/trunk/; revision=33879
-rw-r--r--e-util/ChangeLog7
-rw-r--r--e-util/e-event.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index bc0c7e4fdf..bd2b5f79b1 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,10 @@
+2007-07-29 Hiroyuki Ikezoe <poincare@ikezoe.net>
+
+ ** Fix for bug #451211.
+
+ * e-event.c: (e_event_emit): Replase "==" with "!=" because g_assert()
+ occurs if expression is NOT true.
+
2007-07-27 Lucky Wankhede <wlakke@novell.com>
** Fixes bug #451211
diff --git a/e-util/e-event.c b/e-util/e-event.c
index e02cee4829..33cfae44b8 100644
--- a/e-util/e-event.c
+++ b/e-util/e-event.c
@@ -260,7 +260,7 @@ e_event_emit(EEvent *emp, const char *id, EEventTarget *target)
d(printf("emit event %s\n", id));
- if(emp->target == NULL){
+ if (emp->target != NULL){
g_warning ("Event already in progress.\n");
return;
}