aboutsummaryrefslogtreecommitdiffstats
path: root/smime
diff options
context:
space:
mode:
Diffstat (limited to 'smime')
-rw-r--r--smime/ChangeLog7
-rw-r--r--smime/gui/e-cert-selector.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/smime/ChangeLog b/smime/ChangeLog
index 619807aeb4..a2d00b9dc8 100644
--- a/smime/ChangeLog
+++ b/smime/ChangeLog
@@ -1,3 +1,10 @@
+2007-09-10 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #471791
+
+ * gui/e-cert-selector.c: (ecs_find_current): Move away from g_assert
+ to critical warnings
+
2007-08-31 Milan Crha <mcrha@redhat.com>
** Fix for bug #378759
diff --git a/smime/gui/e-cert-selector.c b/smime/gui/e-cert-selector.c
index 8935c9698e..f9ca319509 100644
--- a/smime/gui/e-cert-selector.c
+++ b/smime/gui/e-cert-selector.c
@@ -84,7 +84,7 @@ ecs_find_current(ECertSelector *ecs)
node = CERT_LIST_NEXT(node);
}
- g_assert(!CERT_LIST_END(node, p->certlist));
+ g_return_val_if_fail (!CERT_LIST_END(node, p->certlist), NULL);
return node;
}