From ea3061eb0641e961bdcd7df6519a5c5346abff9c Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 10 Sep 2007 10:57:41 +0000 Subject: ** Fix for bug #471791 svn path=/trunk/; revision=34215 --- smime/ChangeLog | 7 +++++++ smime/gui/e-cert-selector.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + ** 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 ** 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; } -- cgit