aboutsummaryrefslogtreecommitdiffstats
path: root/smime
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-09-10 18:57:41 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-09-10 18:57:41 +0800
commitea3061eb0641e961bdcd7df6519a5c5346abff9c (patch)
treed126f4f34c60f4abcb61dc97969478a589e2b721 /smime
parent508aee66f947c5b9689262f9d523aeafa8d51ba2 (diff)
downloadgsoc2013-evolution-ea3061eb0641e961bdcd7df6519a5c5346abff9c.tar.gz
gsoc2013-evolution-ea3061eb0641e961bdcd7df6519a5c5346abff9c.tar.zst
gsoc2013-evolution-ea3061eb0641e961bdcd7df6519a5c5346abff9c.zip
** Fix for bug #471791
svn path=/trunk/; revision=34215
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;
}